Containerfile (1173B)
1 FROM docker.io/library/debian:trixie 2 3 ENV DEBIAN_FRONTEND=noninteractive 4 5 # Apt sync 6 RUN dpkg --add-architecture amd64 && \ 7 dpkg --add-architecture arm64 && \ 8 apt-get update -yq && \ 9 apt-get upgrade -yq && \ 10 # Install build & test dependencies 11 apt-get install -yq \ 12 git \ 13 python3 \ 14 sudo \ 15 man \ 16 make \ 17 postgresql \ 18 debhelper \ 19 build-essential \ 20 crossbuild-essential-amd64 \ 21 crossbuild-essential-arm64 \ 22 git-buildpackage && \ 23 # Use Rust from backports while keeping the trixie base system. 24 echo 'deb http://deb.debian.org/debian trixie-backports main' \ 25 > /etc/apt/sources.list.d/backports.list && \ 26 apt-get update -yq && \ 27 # Native rustc and both target libraries must have the same version. 28 apt-get install -yq -t trixie-backports rustc cargo rust-clippy \ 29 libstd-rust-dev:amd64 libstd-rust-dev:arm64 && \ 30 rm -rf /var/lib/apt/lists/* 31 32 WORKDIR /workdir 33 34 CMD ["bash", "/workdir/ci/ci.sh"]