Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions custom-domain/dstack-ingress/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM haproxy@sha256:f8095d0b91414340dbcd53bbe89585e17f333ec1f2a0f60456cb53a90486ece2
FROM haproxy@sha256:b9d0f5dda14e99796add7b0b0a25eefc0ae1e85e96fa98e8bc30eed33395fa19

# haproxy image runs as non-root (uid 99) by default; we need root for
# certbot, DNS management, and writing to /etc/haproxy/certs.
Expand All @@ -7,8 +7,8 @@ USER root
RUN --mount=type=bind,source=pinned-packages.txt,target=/tmp/pinned-packages.txt,ro \
set -e; \
# Create a sources.list file pointing to a specific snapshot
echo 'deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20260824T000000Z trixie main' > /etc/apt/sources.list && \
echo 'deb [check-valid-until=no] https://snapshot.debian.org/archive/debian-security/20260824T000000Z trixie-security main' >> /etc/apt/sources.list && \
echo 'deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20261201T000000Z trixie main' > /etc/apt/sources.list && \
echo 'deb [check-valid-until=no] https://snapshot.debian.org/archive/debian-security/20261201T000000Z trixie-security main' >> /etc/apt/sources.list && \
echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/10no-check-valid-until && \
# Create preferences file to pin all packages
rm -rf /etc/apt/sources.list.d/debian.sources && \
Expand Down
2 changes: 2 additions & 0 deletions custom-domain/dstack-ingress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ A release is not finished when the image is pushed. The compose files and the sn

1. Update `VERSION` and commit it. Bumping the version is a source change: the release workflow refuses to build unless the tag matches this file.

Refresh the base layers too: point the `FROM` digest at the current haproxy release of the same line, and move the Debian snapshot date in both `sources.list` lines to a recent one. Both stay pinned, so the build stays reproducible, but nothing updates them otherwise, and an old snapshot ships without the Debian security fixes published since.

If the base image or the installed packages changed since the last release, run `./build-image.sh` locally first and commit the regenerated `pinned-packages.txt` in the same batch. The build refuses to publish an image whose packages that file does not record, so a stale one fails the release after a full CI build.
2. Tag that commit `dstack-ingress-v<version>` and push the tag. CI builds with `--require-clean`, pushes the image, and reports the digest in the run summary and the release notes.
3. Merge the pin pull request. The release workflow opens it against the default branch as its last step, with every digest-pinned reference — `docker-compose.yaml`, `docker-compose.multi.yaml`, three snippets in this README, and `k3s/docker-compose.yaml` — set to the digest it just published.
Expand Down
66 changes: 33 additions & 33 deletions custom-domain/dstack-ingress/pinned-packages.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apt=3.0.3
base-files=13.8+deb13u6
apt=3.0.4
base-files=13.8+deb13u8
base-passwd=3.6.7
bash=5.2.37-2+b9
bash=5.2.37-2+b10
bsdutils=1:2.41.5-0+deb13u1
ca-certificates=20250419
ca-certificates=20250419+deb13u1
coreutils=9.7-3
curl=8.14.1-2+deb13u4
curl=8.14.1-2+deb13u7
dash=0.5.12-12
debconf=1.5.91
debian-archive-keyring=2025.1
Expand All @@ -15,37 +15,37 @@ dpkg=1.22.22
findutils=4.10.0-3
gcc-14-base:amd64=14.2.0-19
grep=3.11-4
gzip=1.13-1
gzip=1.13-1+deb13u1
hostname=3.25
init-system-helpers=1.69~deb13u1
jq=1.7.1-6+deb13u3
jq=1.7.1-6+deb13u4
libacl1:amd64=2.3.2-2+b1
libapt-pkg7.0:amd64=3.0.3
libapt-pkg7.0:amd64=3.0.4
libattr1:amd64=1:2.5.2-3
libaudit-common=1:4.0.2-2
libaudit1:amd64=1:4.0.2-2+b2
libaudit-common=1:4.0.2-2+deb13u1
libaudit1:amd64=1:4.0.2-2+deb13u1
libblkid1:amd64=2.41.5-0+deb13u1
libbrotli1:amd64=1.1.0-2+b7
libbrotli1:amd64=1.1.0-2+deb13u1
libbsd0:amd64=0.12.2-2
libbz2-1.0:amd64=1.0.8-6
libc-bin=2.41-12+deb13u3
libc6:amd64=2.41-12+deb13u3
libc-bin=2.41-12+deb13u5
libc6:amd64=2.41-12+deb13u5
libcap-ng0:amd64=0.8.5-4+b1
libcap2:amd64=1:2.75-10+deb13u1+b1
libcom-err2:amd64=1.47.2-3+b11
libcap2:amd64=1:2.75-10+deb13u1+b3
libcom-err2:amd64=1.47.2-3+b12
libcrypt1:amd64=1:4.4.38-1
libcurl4t64:amd64=8.14.1-2+deb13u4
libcurl4t64:amd64=8.14.1-2+deb13u7
libdb5.3t64:amd64=5.3.28+dfsg2-9
libdebconfclient0:amd64=0.280
libexpat1:amd64=2.8.3-1~deb13u1
libexpat1:amd64=2.9.0-1~deb13u1
libffi8:amd64=3.4.8-2
libgcc-s1:amd64=14.2.0-19
libgmp10:amd64=2:6.3.0+dfsg-3
libgnutls30t64:amd64=3.8.9-3+deb13u4
libgssapi-krb5-2:amd64=1.21.3-5+deb13u1
libhogweed6t64:amd64=3.10.1-1
libidn2-0:amd64=2.3.8-2
libjq1:amd64=1.7.1-6+deb13u3
libjq1:amd64=1.7.1-6+deb13u4
libk5crypto3:amd64=1.21.3-5+deb13u1
libkeyutils1:amd64=1.6.3-6
libkrb5-3:amd64=1.21.3-5+deb13u1
Expand All @@ -54,7 +54,7 @@ liblastlog2-2:amd64=2.41.5-0+deb13u1
libldap2:amd64=2.6.10+dfsg-1
liblua5.4-0:amd64=5.4.7-1+b2
liblz4-1:amd64=1.10.0-4
liblzma5:amd64=5.8.1-1+deb13u1
liblzma5:amd64=5.8.1-1+deb13u2
libmd0:amd64=1.1.0-2+b1
libmount1:amd64=2.41.5-0+deb13u1
libncursesw6:amd64=6.5+20250216-2
Expand All @@ -67,11 +67,11 @@ libpam-modules-bin=1.7.0-5
libpam-modules:amd64=1.7.0-5
libpam-runtime=1.7.0-5
libpam0g:amd64=1.7.0-5
libpcre2-8-0:amd64=10.46-1~deb13u1
libpcre2-8-0:amd64=10.46-1~deb13u3
libpsl5t64:amd64=0.21.2-1.1+b1
libpython3-stdlib:amd64=3.13.5-1
libpython3.13-minimal:amd64=3.13.5-2+deb13u3
libpython3.13-stdlib:amd64=3.13.5-2+deb13u3
libpython3.13-minimal:amd64=3.13.5-2+deb13u5
libpython3.13-stdlib:amd64=3.13.5-2+deb13u5
libreadline8t64:amd64=8.2-6
librtmp1:amd64=2.4+20151223.gitfa8646d.1-2+b5
libsasl2-2:amd64=2.1.28+dfsg1-9
Expand All @@ -82,9 +82,9 @@ libsemanage-common=3.8.1-1
libsemanage2:amd64=3.8.1-1
libsepol2:amd64=3.8.1-1
libsmartcols1:amd64=2.41.5-0+deb13u1
libsqlite3-0:amd64=3.46.1-7+deb13u1
libsqlite3-0:amd64=3.46.1-7+deb13u2
libssh2-1t64:amd64=1.11.1-1+deb13u1
libssl3t64:amd64=3.5.7-1~deb13u2
libssl3t64:amd64=3.5.9-1~deb13u1
libstdc++6:amd64=14.2.0-19
libsystemd0:amd64=257.13-1~deb13u1
libtasn1-6:amd64=4.20.0-2+deb13u1
Expand All @@ -104,10 +104,10 @@ mount=2.41.5-0+deb13u1
ncurses-base=6.5+20250216-2
ncurses-bin=6.5+20250216-2
netbase=6.5
openssl-provider-legacy=3.5.7-1~deb13u2
openssl=3.5.7-1~deb13u2
openssl-provider-legacy=3.5.9-1~deb13u1
openssl=3.5.9-1~deb13u1
passwd=1:4.17.4-2
perl-base=5.40.1-6
perl-base=5.40.1-6+deb13u1
python3-certifi=2025.1.31+ds-1
python3-chardet=5.2.0+dfsg-2
python3-charset-normalizer=3.4.2-1
Expand All @@ -121,16 +121,16 @@ python3-setuptools-whl=78.1.1-0.1
python3-urllib3=2.3.0-3+deb13u2
python3-venv=3.13.5-1
python3-wheel=0.46.1-2
python3.13-minimal=3.13.5-2+deb13u3
python3.13-venv=3.13.5-2+deb13u3
python3.13=3.13.5-2+deb13u3
python3.13-minimal=3.13.5-2+deb13u5
python3.13-venv=3.13.5-2+deb13u5
python3.13=3.13.5-2+deb13u5
python3=3.13.5-1
readline-common=8.2-6
sed=4.9-2+deb13u1
socat=1.8.0.3-1
socat=1.8.0.3-1+deb13u1
sqv=1.3.0-3+b2
sysvinit-utils=3.14-4
tar=1.35+dfsg-3.1
tzdata=2026b-0+deb13u1
tzdata=2026f-0+deb13u1
util-linux=2.41.5-0+deb13u1
zlib1g:amd64=1:1.3.dfsg+really1.3.1-1+b1
zlib1g:amd64=1:1.3.dfsg+really1.3.1-1+deb13u1
Loading