Skip to content

Commit 4bf4a00

Browse files
author
Arvind Thirumurugan
committed
fix crd-installer docker file
1 parent f167164 commit 4bf4a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/crd-installer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -o crd
2121

2222
# Use distroless as minimal base image to package the crdinstaller binary
2323
# Include kubectl for accessing the Kubernetes API
24-
FROM bitnami/kubectl:latest
24+
FROM gcr.io/distroless/static:nonroot
2525
WORKDIR /workspace
2626
COPY --from=builder /workspace/crdinstaller /usr/local/bin/crdinstaller
2727
COPY config/crd/bases/ /workspace/config/crd/bases/

0 commit comments

Comments
 (0)