anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

Containerfile (3052B)


      1 FROM docker.io/library/debian:trixie
      2 
      3 ENV DEBIAN_FRONTEND=noninteractive
      4 
      5 RUN apt-get update -yqq && \
      6     apt-get install -yqq \
      7                    python3 \
      8                    git \
      9                    meson \
     10                    ninja-build \
     11                    make \
     12                    pkg-config \
     13                    libtool \
     14                    build-essential \
     15                    autopoint \
     16                    gettext \
     17                    curl \
     18                    wget \
     19                    libcurl4-gnutls-dev \
     20                    libgcrypt-dev \
     21                    libjansson-dev \
     22                    libmicrohttpd-dev \
     23                    libpq-dev \
     24                    libqrencode-dev \
     25                    libsodium-dev \
     26                    libsqlite3-dev \
     27                    libunistring-dev \
     28                    uuid-dev \
     29                    zlib1g-dev \
     30                    # Test suite dependencies \
     31                    jq \
     32                    postgresql \
     33                    sudo
     34 
     35 # Debian packaging tools
     36 RUN apt-get install -yqq \
     37                    po-debconf \
     38                    debhelper-compat \
     39                    devscripts \
     40                    fakeroot \
     41                    git-buildpackage
     42 
     43 # Documentation generation utils.  The Texinfo manual is built by
     44 # 'make' itself (texinfo/makeinfo), the handbook by Sphinx; the theme
     45 # and the httpdomain extension are vendored in doc/sphinx/_exts/, but
     46 # recommonmark and graphviz are not.
     47 RUN apt-get update -yqq && \
     48     apt-get install -yqq \
     49                    texinfo \
     50                    python3-sphinx \
     51                    python3-sphinx-rtd-theme \
     52                    python3-recommonmark \
     53                    graphviz \
     54                    # For coverage reports and their upload \
     55                    lcov \
     56                    rsync \
     57    && rm -rf /var/lib/apt/lists/*
     58 
     59 # Install Taler (and friends) packages
     60 RUN curl -sS https://deb.taler.net/apt-nightly/taler-trixie-ci.sources \
     61     | tee /etc/apt/sources.list.d/taler-trixie-ci.sources
     62 
     63 RUN echo '\
     64 Package: * \n\
     65 Pin: origin "deb.taler.net" \n\
     66 Pin-Priority: 999' > /etc/apt/preferences.d/taler
     67 
     68 # libtalerexchange-dev provides taler-unified-setup.sh, which the reducer
     69 # and IBAN CLI tests use to bring up an exchange, a merchant and a bank.
     70 RUN cat /etc/apt/preferences.d/taler && \
     71     apt-get update -y && \
     72     apt-get install -y \
     73                    libgnunet-dev \
     74                    libgnunet \
     75                    gnunet \
     76                    libtalerexchange-dev \
     77                    libtalerexchange \
     78                    libtalermerchant-dev \
     79                    libtalermerchant \
     80                    taler-exchange \
     81                    taler-exchange-database \
     82                    taler-exchange-offline \
     83                    taler-auditor \
     84                    taler-merchant \
     85                    taler-harness \
     86                    taler-wallet-cli \
     87                    libeufin-common \
     88                    libeufin-bank \
     89                    libeufin-nexus \
     90 && rm -rf /var/lib/apt/lists/*
     91 
     92 WORKDIR /workdir