Pin the base image to a digest (#99)

* Pin the base image to a digest

python:3.13-alpine is a mutable tag that gets updated whenever
upstream ships Alpine/Python patches, so a build today could pull
different content than a build tomorrow with no change to this file.
Pin to the digest instead.

* Add dependabot config for Docker base image digest updates

Requested in review: since the Dockerfile now pins the base image by
digest, dependabot needs a docker-ecosystem entry to keep that digest
current.
This commit is contained in:
LotemKahana
2026-07-04 07:53:16 -04:00
committed by GitHub
parent 710c0e89d3
commit 0194c8f8cd
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -8,3 +8,10 @@ updates:
directory: / # Check the repository's workflows under /.github/workflows/
schedule:
interval: daily
# Configure check for outdated base image digest in the Dockerfile.
# See: https://docs.docker.com/build/building/best-practices/#pin-base-image-versions
- package-ecosystem: docker
directory: / # Check the repository's Dockerfile at /Dockerfile
schedule:
interval: weekly
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.13-alpine
FROM python:3.13-alpine@sha256:399babc8b49529dabfd9c922f2b5eea81d611e4512e3ed250d75bd2e7683f4b0
COPY LICENSE \
README.md \