From cdc3fb5bbcb269c7e3150f419fc073a9d1bd6414 Mon Sep 17 00:00:00 2001 From: Francisco Augusto Date: Mon, 12 Jun 2023 14:01:46 +0200 Subject: [PATCH] Fix docker image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4292731202..7164283dc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ ENTRYPOINT [ "/start.sh", "/workspace/manager" ] # Copy the controller-manager into a thin image -FROM gcr.io/distroless/static:nonroot +FROM alpine:3.11 WORKDIR / COPY --from=builder /workspace/manager . # Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies