alertmanager/Dockerfile
Johannes 'fish' Ziemke 52dc8a1968 Fix port in Dockerfile
2015-02-10 12:41:19 +01:00

14 lines
408 B
Docker

FROM golang:latest
MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com>
RUN apt-get -qy update && apt-get -qy install vim-common
ENV PKGPATH $GOPATH/src/github.com/prometheus/alertmanager
ENV GOROOT /usr/src/go
ADD . $PKGPATH
RUN cd $PKGPATH && go get -d && make build
WORKDIR /alertmanager
ENTRYPOINT [ "/go/src/github.com/prometheus/alertmanager/alertmanager" ]
EXPOSE 9093