diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 06c26d4..b9c1c9c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,3 +1,3 @@ # The devcontainer's base image, pinned by digest. It lives in a Dockerfile so # Dependabot's docker ecosystem can bump the digest (#244). -FROM mcr.microsoft.com/devcontainers/go:1.27-bookworm@sha256:75a84cbeca74acadcebf7df05777c77d6ade353a26c0a3ce55fc4b13bdad69cd +FROM mcr.microsoft.com/devcontainers/go:1.27-bookworm@sha256:57d71ff964ee9ece1e8158b7379a5a0922f9a709a5aa2109115f7546be430bd7 diff --git a/.devcontainer/labs/Dockerfile b/.devcontainer/labs/Dockerfile index 27f0a9e..436e53d 100644 --- a/.devcontainer/labs/Dockerfile +++ b/.devcontainer/labs/Dockerfile @@ -1,3 +1,3 @@ # The labs devcontainer's base image, pinned by digest. It lives in a # Dockerfile so Dependabot's docker ecosystem can bump the digest (#244). -FROM mcr.microsoft.com/devcontainers/go:1.27-bookworm@sha256:75a84cbeca74acadcebf7df05777c77d6ade353a26c0a3ce55fc4b13bdad69cd +FROM mcr.microsoft.com/devcontainers/go:1.27-bookworm@sha256:57d71ff964ee9ece1e8158b7379a5a0922f9a709a5aa2109115f7546be430bd7 diff --git a/Dockerfile b/Dockerfile index d1f7a76..8c613e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # minimum); Dependabot keeps both digests fresh. It runs on the build host's # platform and cross-compiles for the target, so multi-arch images (#40) need # no QEMU emulation. -FROM --platform=$BUILDPLATFORM golang:1.27.4-alpine@sha256:0a5f7fe796599ff487605987432e7619ae45beeb2fba4c2ce0b907879932aebf AS builder +FROM --platform=$BUILDPLATFORM golang:1.27.4-alpine@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280 AS builder # Set by BuildKit for each platform being built. ARG TARGETOS @@ -37,7 +37,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -o suben COPY tools/licenses/main.go ./tools/licenses/ RUN go run ./tools/licenses -o THIRD_PARTY_LICENSES -FROM gcr.io/distroless/static:nonroot@sha256:aafe993665bf6200db38a02c11a9351e782a84b6a45e7f33b6695638c88e3931 +FROM gcr.io/distroless/static:nonroot@sha256:8ce6dd87e9823c5b48dcfb2c8604714ccb351ce59607327bcc4957448da279b5 WORKDIR /home/nonroot