Skip to content

Commit

Permalink
Add user setting in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com>
  • Loading branch information
AKamyshnikova committed Feb 28, 2023
1 parent 9706b5f commit cabf888
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit cabf888

Please sign in to comment.