Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13.3-slim
FROM python:3.14.3-slim
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Consider pinning base image by digest for supply-chain reproducibility

Pinning to a mutable tag (3.14.3-slim) means that if Docker Hub silently replaces the image (e.g., for an OS-level patch), subsequent builds pull a different layer without any visible change to this file. For a security-focused PR this is worth noting. Using the image digest (e.g., python:3.14.3-slim@sha256:<digest>) gives a stronger guarantee that every build uses the exact same bits.

Suggested change
FROM python:3.14.3-slim
FROM python:3.14.3-slim@sha256:<digest-from-docker-hub>

You can obtain the digest via:

docker pull python:3.14.3-slim
docker inspect --format='{{index .RepoDigests 0}}' python:3.14.3-slim


# Patch OS-level vulnerabilities in base image
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
Expand Down