Skip to content

Commit 81733f8

Browse files
Copilotgonzolino
andauthored
Bump distroless Docker base images to Debian 13 (#834)
* Bump distroless Docker base images to Debian 13 Co-authored-by: gonzolino <3019505+gonzolino@users.noreply.github.com> * Pin base-debian13:latest and static-debian13:nonroot to specific digest Co-authored-by: gonzolino <3019505+gonzolino@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gonzolino <3019505+gonzolino@users.noreply.github.com>
1 parent 7873bd3 commit 81733f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
7070

7171
# Use distroless as minimal base image to package the manager binary
7272
# Refer to https://github.com/GoogleContainerTools/distroless for more details
73-
FROM gcr.io/distroless/static:nonroot AS manager
73+
FROM gcr.io/distroless/static-debian13:nonroot@sha256:01e550fdb7ab79ee7be5ff440a563a58f1fd000ad9e0c532e65c3d23f917f1c5 AS manager
7474
WORKDIR /
7575
COPY --from=controller /workspace/bin/manager .
7676
USER 65532:65532
@@ -80,7 +80,7 @@ ENTRYPOINT ["/manager"]
8080

8181

8282
# Since we're leveraging apt to pull in dependencies, we use `gcr.io/distroless/base` because it includes glibc.
83-
FROM gcr.io/distroless/base-debian12 AS distroless-base
83+
FROM gcr.io/distroless/base-debian13:latest@sha256:8c8b7cf2a01e2d1c683128b2488d77139fa90ec8cb807f0ae260d57f7022dedd AS distroless-base
8484

8585
# The distroless amd64 image has a target triplet of x86_64
8686
FROM distroless-base AS distroless-amd64

0 commit comments

Comments
 (0)