Repository navigation
fix(build): install Debian packages from the 2026-12-01 snapshot to pick up security updates - #185
Merged
Merged
Conversation
…ick up security updates
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.
Why
The release workflow for v1.0.0 failed at the Trivy step. The build image installs and upgrades Debian packages from the 2026-10-30 snapshot, and bookworm has published security updates since then (apt, PAM, zlib, zstd, the kernel headers and others). Trivy reported 256 high and 4 critical findings in
gatepost-build:current, all with fixed versions available. The lab image builds on the same image and sources.What changed
Dockerfile.buildreads thedebiananddebian-securityarchives from the 2026-12-01 snapshot. The pinnedlibsodium-dev=1.0.18-1+deb12u1is still the bookworm version.CHANGELOG.mdandCHANGELOG.zh-CN.mdrecord the update under Unreleased.How to verify
gh workflow run release.yml --ref fix/debian-snapshot-security-updates); the Trivy step should pass for both images.背景
v1.0.0 的发布工作流在 Trivy 扫描这一步失败。构建镜像从 2026-10-30 的 Debian 快照安装并升级软件包,而 bookworm 之后又发布了一批安全更新(apt、PAM、zlib、zstd、内核头文件等)。Trivy 在
gatepost-build:current里报出 256 个高危、4 个严重漏洞,都已有修复版本。实验室镜像基于同一个镜像和软件源。改动
Dockerfile.build的debian和debian-security两个软件源改用 2026-12-01 的快照。固定的libsodium-dev=1.0.18-1+deb12u1仍是 bookworm 当前版本。CHANGELOG.md和CHANGELOG.zh-CN.md的“未发布”部分记录了这次更新。怎么验证
gh workflow run release.yml --ref fix/debian-snapshot-security-updates),两个镜像的 Trivy 扫描都应通过。