diff --git a/Dockerfile b/Dockerfile index ef67192..214e077 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN go build -ldflags="-s -w" -a -o cloud-profile-sync main.go # 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 +FROM gcr.io/distroless/static:nonroot@sha256:963fa6c544fe5ce420f1f54fb88b6fb01479f054c8056d0f74cc2c6000df5240 WORKDIR / LABEL source_repository="https://github.com/cobaltcore-dev/cloud-profile-sync" COPY --from=builder /workspace/cloud-profile-sync .