Repository navigation
fix(ingress): refresh the haproxy base and Debian snapshot - #176
Merged
Merged
Conversation
The image was built on haproxy 3.3.14 (base pinned 2026-08-27) with apt pinned to the 2026-08-24 Debian snapshot, so every Debian security update since then was missing: openssl, glibc, curl, python3.13, expat, zlib, sqlite, pcre2 and others. Move the base to haproxy 3.3.19, the current release of the same line, and both snapshot lines to 2026-12-01. Both stay pinned, so the digest stays reproducible. pinned-packages.txt is regenerated from the build. The release steps in the README now say to refresh both before a release, since nothing else moves them. Signed-off-by: Kevin Wang <wy721@qq.com>
Leechael
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
dstack-ingress 2.8 is built
FROM haproxy@sha256:f8095d0b…, and apt is pinned to the Debian snapshot20260824T000000Z. That digest is haproxy 3.3.14 (image created 2026-08-27), not a 3.4 build. Nothing moves either pin between releases, so the image is missing every Debian security update published after 2026-08-24. The packages that change when the pins are refreshed include openssl/libssl3t64 (3.5.7 → 3.5.9), libc6 (deb13u3 → u5), curl/libcurl (deb13u4 → u7), python3.13 (deb13u3 → u5), libexpat1 (2.8.3 → 2.9.0), zlib1g, liblzma5, libsqlite3, libpcre2, perl-base, gzip, socat, ca-certificates and tzdata.Fix
FROM haproxy@sha256:b9d0f5dd…: thehaproxy:3.3.19index, the current release of the same 3.3 line (created 2026-11-30). The pin is still by digest.sources.listlines move to the snapshot20261201T000000Z. It resolves todebian20261130T210532Z anddebian-security20261130T220659Z.pinned-packages.txtis regenerated from the build. It still lists 136 packages, and 33 versions change.VERSIONis unchanged. Bumping it to cut a release is a separate step, as with previous releases.Verification
On a native linux/amd64 host:
./build-image.shon the edited tree regeneratedpinned-packages.txt. I committed that file../build-image.sh --require-cleantwice on the committed tree. Both runs produced manifest digestsha256:df2a73c4268f7a8962b43e168c6a086bb05bd820e77a2123dff6f6547b903875, and both reportedpinned-packages.txt matches the image (136 packages).Not done: no end-to-end certificate issuance run in a CVM.
Open question
haproxy 3.3 is a non-LTS branch and goes end-of-life well before 3.4 LTS does. Moving to 3.4 would change the HAProxy feature line, so this PR does not do it. That move should be a separate decision.