From 2937c7e76597e2e5115ad2ff243a0662ae7d942b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 22 Mar 2015 20:14:20 +0100 Subject: [PATCH] docker: run alertmanager as nobody fixes #39 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d53f27bf..5ae07007 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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