ベースイメージに Debian のコードネームを明示する - #20
Merged
Merged
Conversation
`python:3.14.7-slim` は Debian の既定スイートを指すエイリアスで、上流が既定を 切り替えると土台の Debian が黙って入れ替わる。Dependabot はタグのサフィックスを 保持して更新するだけなので、土台の Debian がサポート終了しても検知できない。 2026-08-24 時点で `python:3.14.7-slim` と `python:3.14.7-slim-trixie` は同一の digest(sha256:ce407646…)を指すので、動作は変わらない。 CALIL org の Dockerfile 26件はすべて `-slim-trixie` の形でコードネームを明示して いる。同じ形へ揃えることで、EOL 台帳(CALIL/isms-rules の `eol-management/`)が digest を引かずに Debian の版を判定できるようになる。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
何をしたか
DockerfileのFROM python:3.14.7-slimをpython:3.14.7-slim-trixieにした。なぜ
無印の
-slimは Debian の既定スイートを指すエイリアスで、上流が既定を切り替えると土台の Debian が黙って入れ替わる。Dependabot はタグのサフィックスを保持したまま Python の版だけを上げるので、土台の Debian がサポート終了しても永遠に気づけない(Debian 12 は 2026-07-11 にサポート終了済み)。CALIL org の Dockerfile 26件はすべて
-slim-trixieの形でコードネームを明示している。同じ形へ揃えることで、EOL 台帳(CALIL/isms-rulesのeol-management/)が digest を引かずに Debian の版を判定できるようになる。CALIL 側でも同じ理由で
gcr.io/distroless/cc→cc-debian13の是正を行っている(CALIL/fossil-search #32)。動作は変わらない
2026-08-24 時点で両タグは同一の digest を指す。
CI の
Dockerイメージジョブがビルドと gunicorn の起動確認まで通ることで検証される。🤖 Generated with Claude Code