libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

Containerfile (1362B)


      1 FROM docker.io/library/debian:trixie
      2 
      3 ENV DEBIAN_FRONTEND=noninteractive
      4 
      5     # Apt sync
      6 RUN apt-get update -yq && \
      7     apt-get upgrade -yq && \
      8     # Install build & test dependencies
      9     apt-get install -yq \
     10                    git \
     11                    python3 \
     12                    sudo \
     13                    man \
     14                    make \
     15                    postgresql \
     16                    debhelper \
     17                    build-essential \
     18                    git-buildpackage && \
     19     # Rust from trixie-backports: trixie itself ships 1.85, this tree needs
     20     # >= 1.93 (std::fmt::from_fn).  Backports keeps the base image -- and
     21     # therefore the glibc the .deb is linked against -- on stable, which
     22     # matters because the artifacts are published to a trixie repository.
     23     echo 'deb http://deb.debian.org/debian trixie-backports main' \
     24          > /etc/apt/sources.list.d/backports.list && \
     25     apt-get update -yq && \
     26     apt-get install -yq -t trixie-backports rustc cargo rust-clippy && \
     27     rm -rf /var/lib/apt/lists/* && \
     28     curl -sSL https://taler.net/taler-systems.gpg \
     29         -o /etc/apt/keyrings/taler-systems.gpg && \
     30     echo 'deb [signed-by=/etc/apt/keyrings/taler-systems.gpg] https://deb.taler.net/apt/debian trixie-testing main' \
     31         > /etc/apt/sources.list.d/taler.list
     32 
     33 WORKDIR /workdir
     34 
     35 CMD ["bash", "/workdir/ci/ci.sh"]