Skip to content

Commit 34e0c1c

Browse files
authored
chore: switch to using mcr image (#321)
<!-- 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 #320 <!-- If this PR fixes GitHub issue 1234, add "Fixes #1234" to the next line. --> **Notes for Reviewers**: Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
1 parent 014af7e commit 34e0c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -a -ld
1919

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

0 commit comments

Comments
 (0)