diff --git a/joinservice/Dockerfile b/joinservice/Dockerfile index 062e2d714..eb551bd82 100644 --- a/joinservice/Dockerfile +++ b/joinservice/Dockerfile @@ -26,6 +26,6 @@ ARG PROJECT_VERSION=0.0.0 RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -o join-service -trimpath -buildvcs=false -ldflags "-s -w -buildid='' -X github.com/edgelesssys/constellation/v2/internal/constants.versionInfo=${PROJECT_VERSION}" ./cmd/ # Use gcr.io/distroless/static here since we need CA certificates to be installed for aTLS operations on GCP. -FROM gcr.io/distroless/static@sha256:5b2fa762fb6ebf66ff88ae1db2dc4ad8fc6ddf1164477297dfac1a09f20e7339 as release +FROM gcr.io/distroless/static@sha256:20c99e52d222a1fe9f232acb9dbaba5a02958f0993ef7f251677fdab1856178a as release COPY --from=build /constellation/joinservice/join-service /joinservice ENTRYPOINT [ "/joinservice" ]