Merge pull request #41 from stapelberg/patch-1
docker: run alertmanager as nobody
This commit is contained in:
commit
e3427a89cf
|
@ -8,6 +8,7 @@ ENV GOROOT /usr/src/go
|
|||
ADD . $PKGPATH
|
||||
RUN cd $PKGPATH && go get -d && make
|
||||
|
||||
USER nobody
|
||||
WORKDIR /alertmanager
|
||||
ENTRYPOINT [ "/go/src/github.com/prometheus/alertmanager/alertmanager" ]
|
||||
EXPOSE 9093
|
||||
|
|
Loading…
Reference in New Issue