Skip to content

Commit

Permalink
Use numberic USER in Dockerfile for PodSecurityPolicy set to runAsNon…
Browse files Browse the repository at this point in the history
…Root
  • Loading branch information
Johan Steenhoven authored Sep 10, 2020
1 parent 89ec9d9 commit 9fb6a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ WORKDIR /

COPY --from=build-env /go/src/${package}/${application} /${application}

USER agent
USER 1000

ENTRYPOINT ["/metrics-agent"]

0 comments on commit 9fb6a2f

Please sign in to comment.