Skip to content

Commit f5e914e

Browse files
committed
Move CLI image base to digest-pinned SUSE BCI micro 15.7
gcr.io/distroless/static-debian11 is end-of-life. Trivy reports Metadata.OS.EOSL=true and warns that detection is insufficient because Debian 11 no longer receives security updates, so a clean scan on that base was partly a dead advisory feed rather than a clean image. Five tzdata advisories sat below the dev gate only because the gate filters UNKNOWN severity. registry.suse.com/bci/bci-micro:15.7 is SLES 15-SP7 with a live SUSE feed, publishes both linux/amd64 and linux/arm64/v8, and needs no package installation, so no zypper step is introduced. The digest is the multi-arch index digest so both GoReleaser per-arch builds resolve it under --platform.
1 parent d4b29c4 commit f5e914e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎docker/Dockerfile.goreleaser‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
FROM gcr.io/distroless/static-debian11
1+
# Pinned to the multi-arch index digest, not a per-arch one, so the amd64 and
2+
# arm64v8 GoReleaser builds can both resolve it via --platform.
3+
FROM registry.suse.com/bci/bci-micro:15.7@sha256:44f5c047210188eb290414c52f883b763efa1e234c2a15c325f03e83f0984fa6
24
ENTRYPOINT ["/usr/bin/sts"]
3-
COPY sts /usr/bin/sts
5+
COPY sts /usr/bin/sts

0 commit comments

Comments
 (0)