Skip to content

Commit

Permalink
chore: switch to using mcr image (Azure#321)
Browse files Browse the repository at this point in the history
<!-- Thank you for helping KMS Plugin for Key Vault with a pull request!
-->

**Reason for Change**:
<!-- What does this PR improve or fix in KMS Plugin for Key Vault? Why
is it needed? -->


**Issue Fixed**: Fixes Azure#320
<!-- If this PR fixes GitHub issue 1234, add "Fixes #1234" to the next
line. -->

**Notes for Reviewers**:

Signed-off-by: Sertaç Özercan <[email protected]>
  • Loading branch information
sozercan authored Dec 12, 2023
1 parent 014af7e commit 34e0c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -a -ld

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM --platform=${TARGETPLATFORM:-linux/amd64} gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f
FROM --platform=${TARGETPLATFORM:-linux/amd64} mcr.microsoft.com/cbl-mariner/distroless/minimal:2.0-nonroot@sha256:b8e90ab2ad04a18383a5a4f2956a8831d3dfe39544aa0edd82f87dd3c0ffffc9
WORKDIR /
COPY --from=builder /workspace/_output/kubernetes-kms .

Expand Down

0 comments on commit 34e0c1c

Please sign in to comment.