Containerfile (1078B)
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 && \ 27 rm -rf /var/lib/apt/lists/* 28 29 WORKDIR /workdir 30 31 CMD ["bash", "/workdir/ci/ci.sh"]