Skip to content

chore(docker): pin the python base image by sha - #3218

Draft
Alc-Alc wants to merge 1 commit into
python:mainfrom
Alc-Alc:python-image-sha-pin
Draft

Alc-Alc wants to merge 1 commit into
python:mainfrom
Alc-Alc:python-image-sha-pin

Conversation

@Alc-Alc

@Alc-Alc Alc-Alc commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Things I did not do (at least for a start)

Some Side Effects

  • This means new images won't get security fixes for "free" when cabotage rebuilds an image. (dependabot would still do it thought, just not as frequent (quarterly))

ref: #3215 (comment)

Commands used to verify claims

no tiffcrop in bookworm
docker run --rm python:3.14.10-bookworm@sha256:fbaf91204f2758a70a7f7d6cf3c2871851227152a54e6a7b5b59941c4566b6b5 tiffcrop      

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "tiffcrop": executable file not found in $PATH
no wget in slim
docker run --rm python:3.14.10-slim-bookworm wget --version

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "wget": executable file not found in $PATH
texlive versions
docker run --rm python:3.14.10-bookworm@sha256:fbaf91204f2758a70a7f7d6cf3c2871851227152a54e6a7b5b59941c4566b6b5 sh -c 'apt-get update -qq; apt-cache policy texlive-latex-base | head -3'

texlive-latex-base:
  Installed: (none)
  Candidate: 2022.20230122-3
docker run --rm python:3.14.10-slim sh -c 'apt-get update -qq; apt-cache policy texlive-latex-base | head -3'

texlive-latex-base:
  Installed: (none)
  Candidate: 2024.20250309-1
urllib3 version in the image
docker run --rm python:3.14.10-bookworm@sha256:fbaf91204f2758a70a7f7d6cf3c2871851227152a54e6a7b5b59941c4566b6b5 python -c "from pip._vendor import urllib3; print(urllib3.__version__)"

2.7.0

PS: This should have been up a while back, but AoC is making me less productive. 🙃

@Alc-Alc
Alc-Alc marked this pull request as ready for review December 4, 2026 08:07
@Alc-Alc
Alc-Alc requested a review from JacobCoffee as a code owner December 4, 2026 08:07
@Alc-Alc
Alc-Alc marked this pull request as draft December 4, 2026 08:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant