Repository navigation
chore(docker): move the image base to debian trixie-slim - #2409
Merged
Merged
Conversation
Bookworm is oldstable and has been in LTS since June 2026, with a reduced package set, and its stale slim image is what tripped the weekly Trivy scan (#2408). Pin debian:trixie-slim (Debian 13, glibc 2.41) by its multi-arch index digest instead. Dependabot only bumps the digest and never the codename, so the Dockerfile now says the release move is a manual edit. The release binaries are cross-built against the 2.31 floor, so they run unchanged. The release.yml glibc comments now name Debian 12 / RHEL 9 as the distributions a native build would break, since our own image no longer sits below the runner's glibc. Verified locally: both stages build and run `--version` on trixie, and Trivy (CRITICAL,HIGH, ignore-unfixed, as security.yml runs it) reports 0 findings on both images. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The focused base-image update is consistent with the existing multi-architecture and uncached security-update workflow.
0 open findings
What changed in this PR
Moves published container images to the digest-pinned Debian 13 Trixie slim base while preserving release security updates and glibc compatibility.
Changes:
- Updates the Debian base image and digest.
- Documents manual release upgrades and Dependabot behavior.
- Refreshes release workflow glibc compatibility comments.
| File | Description |
|---|---|
Dockerfile |
Moves both image stages to Trixie slim. |
.github/workflows/release.yml |
Updates glibc compatibility documentation. |
.github/dependabot.yml |
Updates the pinned-image comment for Trixie. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The CHANGELOG is all [Unreleased], so the digest-pin entry naming `bookworm-slim` described the shipped state; it now names `trixie-slim`, and a Changed entry records the move. The Dockerfile names every place a codename move touches, and the release.yml glibc comments say the floor is set by the release archives rather than the images, without repeating the distro list twice. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Summary
debian:trixie-slim(Debian 13, glibc 2.41) by multi-arch index digest. Bookworm is oldstable and has been in LTS since June 2026, and its stale slim image is what tripped the weekly Trivy scan (fix(docker): apply bookworm security updates in the image base #2408). Theapt-get upgradelayer stays, because it coverstrixie-securitythe same way.release.ymlglibc comments: name Debian 12 / RHEL 9 as what a native build would break. Our own image no longer sits below the runner's glibc 2.39.dependabot.ymlcomment:bookworm-slim→trixie-slim.The release binaries are cross-built against the 2.31 floor (ADR 000), so they run on the new base unchanged.
Test plan
docker buildof both stages (decdn-node,decdn) on trixie.--versionruns for both binaries, as uid 1000, and the CA bundle is present.CRITICAL,HIGH,ignore-unfixed) reports 0 findings on both images (debian 13.7).pre-commit runpasses on the changed files.dockerjob builds the amd64 and arm64 images.workflow_dispatchofsecurity.ymlafter that publish comes back clean.🤖 Generated with Claude Code