anastasis

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

Containerfile (3023B)


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