diff --git a/joinservice/Dockerfile b/joinservice/Dockerfile index 488d79366..83b9888e7 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:764a31ea2f5757d9e2d3da001790cbdcb6384d3e2d2e458867a08cac59899711 as release +FROM gcr.io/distroless/static@sha256:be8c71d97739b5860947c2635ca40e8ea8eb6de72239ca52aeddac6b96e4cf53 as release COPY --from=build /constellation/joinservice/join-service /joinservice ENTRYPOINT [ "/joinservice" ]