diff --git a/Dockerfile b/Dockerfile index ad97555..1019aa3 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:25ac8f0c3b2334a9eb05452266bd4697864a8c8ef0ef71e5e6480d7f92868329 WORKDIR / LABEL source_repository="https://github.com/cobaltcore-dev/cloud-profile-sync" COPY --from=builder /workspace/cloud-profile-sync .