Skip to content

Commit 1abc9b9

Browse files
fix(ci): bump python:3.11-slim base image digest (2026-08-13)
The pinned python:3.11-slim digest from 2026-08-09 accumulated high-severity CVEs in Debian bookworm packages, causing the anchore/scan-action grype scan to fail at severity-cutoff: high. Updated to the current 2026-08-13 digest (a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1) across all 6 references: Dockerfile, release.yml (container + evidence string), scripts/release_evidence.py, and both test files. Verified: test_release_evidence.py and test_release_infrastructure.py pass.
1 parent ea5831d commit 1abc9b9

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
name: Independent distribution builder ${{ matrix.builder }}
154154
runs-on: ubuntu-latest
155155
timeout-minutes: 30
156-
container: python:3.11-slim@sha256:90744cff8f32887f075c47d747a173ff333e9e98801667af93c357fa9f5e28ff
156+
container: python:3.11-slim@sha256:a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1
157157
if: >-
158158
github.event_name == 'push' ||
159159
inputs.release_tag == ''
@@ -223,7 +223,7 @@ jobs:
223223
224224
image = (
225225
"python:3.11-slim@sha256:"
226-
"90744cff8f32887f075c47d747a173ff333e9e98801667af93c357fa9f5e28ff"
226+
"a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1"
227227
)
228228
229229
def digest(path):

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Engraphis — self-hosted AI memory engine. Local-first; you bring the LLM.
2-
FROM python:3.11-slim@sha256:90744cff8f32887f075c47d747a173ff333e9e98801667af93c357fa9f5e28ff AS base
2+
FROM python:3.11-slim@sha256:a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1 AS base
33

44
# ENGRAPHIS_HOST is deliberately NOT set here: docker-entrypoint.sh chooses IPv6 for a
55
# Railway deployment (which injects RAILWAY_SERVICE_NAME) and 0.0.0.0 for ordinary Docker.

‎scripts/release_evidence.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
_IMAGE_DIGEST = re.compile(r"sha256:[0-9a-f]{64}\Z")
3232
_BUILDER_IMAGE = (
3333
"python:3.11-slim@sha256:"
34-
"90744cff8f32887f075c47d747a173ff333e9e98801667af93c357fa9f5e28ff"
34+
"a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1"
3535
)
3636
_BUILDER_TOOLCHAIN = {
3737
"build": "1.5.0",

‎tests/test_release_evidence.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _release_inputs(root, dist):
137137
"name": name,
138138
"image": (
139139
"python:3.11-slim@sha256:"
140-
"90744cff8f32887f075c47d747a173ff333e9e98801667af93c357fa9f5e28ff"
140+
"a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1"
141141
),
142142
"python": "3.11",
143143
"environment_lock_sha256": "e" * 64,
@@ -515,7 +515,7 @@ def test_release_workflow_publishes_complete_captured_evidence():
515515
assert "name: build-environment-evidence" in build
516516
assert "dist-repeat" not in build
517517
assert "Independent distribution builder ${{ matrix.builder }}" in reproducibility
518-
assert "python:3.11-slim@sha256:90744cff" in reproducibility
518+
assert "python:3.11-slim@sha256:a630a63c" in reproducibility
519519
assert 'builder: ["a", "b"]' in reproducibility
520520
assert "Compare independent distribution builders" in reproducibility
521521
assert "name: independent-reproducibility" in reproducibility

‎tests/test_release_infrastructure.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_ci_and_release_audit_production_image_dependencies():
199199
assert (
200200
_text("Dockerfile").splitlines()[1]
201201
== "FROM python:3.11-slim@sha256:"
202-
"90744cff8f32887f075c47d747a173ff333e9e98801667af93c357fa9f5e28ff AS base"
202+
"a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1 AS base"
203203
)
204204
assert "Verify production image OCR runtime" in ci
205205
assert "Verify production image OCR runtime" in release
@@ -300,7 +300,7 @@ def test_release_builds_one_portable_open_core_wheel():
300300
assert release.count("python -m build") == 2
301301
assert "python -m build --outdir dist-repeat" not in release
302302
assert 'builder: ["a", "b"]' in release
303-
assert "python:3.11-slim@sha256:90744cff" in release
303+
assert "python:3.11-slim@sha256:a630a63c" in release
304304
assert "Compare independent distribution builders" in release
305305
assert "python scripts/verify_distribution_contents.py dist/*" in release
306306
assert "Build compiled wheels" not in release

0 commit comments

Comments
 (0)