Skip to content

Commit

Permalink
run as nobody
Browse files Browse the repository at this point in the history
Signed-off-by: Wing924 <[email protected]>
  • Loading branch information
Wing924 authored and jacksontj committed Nov 12, 2020
1 parent f8a44fd commit 9697464
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /go/src/github.com/jacksontj/promxy/cmd/promxy/promxy /bin/promxy
COPY --from=builder /go/src/github.com/jacksontj/promxy/cmd/remote_write_exporter/remote_write_exporter /bin/remote_write_exporter

USER nobody

ENTRYPOINT [ "/bin/promxy" ]

0 comments on commit 9697464

Please sign in to comment.