Skip to content

Commit

Permalink
Do not run as root by default in Docker
Browse files Browse the repository at this point in the history
Similar in spirit to prometheus/statsd_exporter#202 and others.

Signed-off-by: Matthias Rampke <[email protected]>
  • Loading branch information
Matthias Rampke committed Apr 17, 2019
1 parent 8eb0f97 commit 59b567f
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 @@ -3,5 +3,6 @@ LABEL maintainer="The Prometheus Authors <[email protected]

COPY graphite_exporter /bin/graphite_exporter

USER nobody
EXPOSE 9108 9109 9109/udp
ENTRYPOINT [ "/bin/graphite_exporter" ]

0 comments on commit 59b567f

Please sign in to comment.