From 653a1062e6dd878b3dc8e1f18f7e040aaa830790 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 4 Nov 2022 11:53:55 +0100 Subject: [PATCH] Update gcr.io/distroless/static:nonroot Docker digest to ed05c7a (#449) Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- kms/Dockerfile | 2 +- operators/constellation-node-operator/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kms/Dockerfile b/kms/Dockerfile index 08358e9c8..21d1c8227 100644 --- a/kms/Dockerfile +++ b/kms/Dockerfile @@ -26,6 +26,6 @@ WORKDIR /constellation/kms/cmd ARG PROJECT_VERSION=0.0.0 RUN CGO_ENABLED=0 go build -o /constellation/build/kmsserver -trimpath -buildvcs=false -ldflags "-s -w -buildid='' -X github.com/edgelesssys/constellation/v2/internal/constants.VersionInfo=${PROJECT_VERSION}" -FROM gcr.io/distroless/static:nonroot@sha256:d8afc7d6973f357162e2283551cf3347b2bb847a03d24510ee837f289505f8e3 as release +FROM gcr.io/distroless/static:nonroot@sha256:ed05c7a5d67d6beebeba19c6b9082a5513d5f9c3e22a883b9dc73ec39ba41c04 as release COPY --from=build /constellation/build/kmsserver /kmsserver ENTRYPOINT ["/kmsserver"] diff --git a/operators/constellation-node-operator/Dockerfile b/operators/constellation-node-operator/Dockerfile index 0f6293b66..581a6f39f 100644 --- a/operators/constellation-node-operator/Dockerfile +++ b/operators/constellation-node-operator/Dockerfile @@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager 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@sha256:d8afc7d6973f357162e2283551cf3347b2bb847a03d24510ee837f289505f8e3 as release +FROM gcr.io/distroless/static:nonroot@sha256:ed05c7a5d67d6beebeba19c6b9082a5513d5f9c3e22a883b9dc73ec39ba41c04 as release WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532