diff --git a/Dockerfile b/Dockerfile index d751eee4..464677b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,5 +33,6 @@ FROM gcr.io/distroless/static:nonroot AS final ARG PROJECT_NAME=zookeeper-operator COPY --from=go-builder /src/${PROJECT_NAME} /usr/local/bin/${PROJECT_NAME} +USER ${PROJECT_NAME} ENTRYPOINT ["/usr/local/bin/zookeeper-operator"]