From 4ab9c125f0aebceccb3d00b135532e4ee1768851 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 09:51:27 +0000 Subject: [PATCH] fix(container): pin the wolfi-base image by digest Both FROM lines used cgr.dev/chainguard/wolfi-base:latest with no digest, which the container-pins gate refuses. This adds the index digest sha256:1f6b749929164c3d9e7cad0289254f39b2ba51e1dddaeb0fa57532ea03f2db31 to both lines, keeping the tag and the stage name. The sweep session looked the digest up at 09:50 UTC on 14 Nov from the registry (the multi-arch OCI index for latest, 2 manifests) and I could not re-verify it from this environment. It freezes the base image at that point and does not keep it fresh: whoever maintains the repository must bump it. The owner approved pinning it. Co-Authored-By: Claude --- build/container/Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/container/Containerfile b/build/container/Containerfile index 144f4b04..af593dd7 100644 --- a/build/container/Containerfile +++ b/build/container/Containerfile @@ -61,7 +61,7 @@ # chain integrity, e.g.: # FROM cgr.dev/chainguard/wolfi-base:latest@sha256: AS builder # (cerro-torre's .ctp signing in build/container/stapeln/ records the resolved digest.) -FROM cgr.dev/chainguard/wolfi-base:latest AS builder +FROM cgr.dev/chainguard/wolfi-base:latest@sha256:1f6b749929164c3d9e7cad0289254f39b2ba51e1dddaeb0fa57532ea03f2db31 AS builder # TODO: Install your language toolchain RUN apk add --no-cache build-base @@ -79,7 +79,7 @@ COPY . . # Minimal production image. Only the compiled binary/release and runtime # dependencies are included. No compilers, no source code, no build tools. # -FROM cgr.dev/chainguard/wolfi-base:latest +FROM cgr.dev/chainguard/wolfi-base:latest@sha256:1f6b749929164c3d9e7cad0289254f39b2ba51e1dddaeb0fa57532ea03f2db31 # OCI image labels (compatible with cerro-torre .ctp bundle metadata) LABEL org.opencontainers.image.title="bactrian" \