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