Skip to content

Commit 1e811cf

Browse files
author
marwan37
committed
use specific image digest when pulling base image
1 parent 33dc1be commit 1e811cf

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/build-push-codespace.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ jobs:
8282
echo "exists=false" >> $GITHUB_OUTPUT
8383
fi
8484
85+
- name: Debug Docker image
86+
if: steps.check.outputs.exists == 'true'
87+
run: |
88+
docker pull zenmldocker/zenml-sandbox:latest
89+
docker image inspect zenmldocker/zenml-sandbox:latest || echo "Failed to inspect image"
90+
docker manifest inspect zenmldocker/zenml-sandbox:latest || echo "Failed to inspect manifest"
91+
8592
# ── Generate & submit PR if missing ─────────────────
8693
- name: Generate Dockerfile.codespace
8794
if: steps.check.outputs.exists == 'false'

omni-reader/Dockerfile.codespace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sandbox base image
2-
FROM zenmldocker/zenml-sandbox:latest
2+
FROM zenmldocker/zenml-sandbox@sha256:bc9716318ac1441ab4887f5824979ac0653dcae54f667d5435d08b369d057e88
33

44
# Install uv from official distroless image
55
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

oncoclear/Dockerfile.codespace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sandbox base image
2-
FROM zenmldocker/zenml-sandbox:latest
2+
FROM zenmldocker/zenml-sandbox@sha256:bc9716318ac1441ab4887f5824979ac0653dcae54f667d5435d08b369d057e88
33

44
# Install uv from official distroless image
55
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

scripts/generate_codespace_dockerfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Dockerfile template
1313
DOCKER_TEMPLATE = """# Sandbox base image
14-
FROM zenmldocker/zenml-sandbox:latest
14+
FROM zenmldocker/zenml-sandbox@sha256:bc9716318ac1441ab4887f5824979ac0653dcae54f667d5435d08b369d057e88
1515
1616
# Install uv from official distroless image
1717
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

0 commit comments

Comments
 (0)