alertmanager/Dockerfile
Johannes 'fish' Ziemke 991cb23d64 Run make in Dockerfile without explicit target
This fixes the docker build which broke since we removed the 'build'
target from the Makefile.

Change-Id: I36ca5b3c1ad49fe4748322fcd063fbca402bda38
2015-02-10 17:17:04 +01:00

14 lines
402 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
WORKDIR /alertmanager
ENTRYPOINT [ "/go/src/github.com/prometheus/alertmanager/alertmanager" ]
EXPOSE 9093