diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index 549e3aef..4d8fac1b 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -23,7 +23,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -a -o ${MAIN_ENTRY} ./ # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM gcr.io/distroless/static:nonroot@sha256:d71f4b239be2d412017b798a0a401c44c3049a3ca454838473a4c32ed076bfea +FROM gcr.io/distroless/static:nonroot@sha256:6cd937e9155bdfd805d1b94e037f9d6a899603306030936a3b11680af0c2ed58 ARG MAIN_ENTRY WORKDIR / COPY --from=base /workspace/${MAIN_ENTRY} . diff --git a/docker/cnimanager.Dockerfile b/docker/cnimanager.Dockerfile index 36a3e5ef..9173cc81 100644 --- a/docker/cnimanager.Dockerfile +++ b/docker/cnimanager.Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM gcr.io/distroless/static:latest@sha256:f4a57e8ffd7ba407bdd0eb315bb54ef1f21a2100a7f032e9102e4da34fe7c196 +FROM gcr.io/distroless/static:latest@sha256:5c7e2b465ac6a2a4e5f4f7f722ce43b147dabe87cb21ac6c4007ae5178a1fa58 ARG MAIN_ENTRY COPY --from=baseimg /${MAIN_ENTRY} / ENTRYPOINT ["/${MAIN_ENTRY}"]