Skip to content

Commit

Permalink
Add user setting in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AKamyshnikova committed Feb 28, 2023
1 parent 9706b5f commit 93ffa69
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 93ffa69

Please sign in to comment.