mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-12 17:36:34 +00:00
991cb23d64
This fixes the docker build which broke since we removed the 'build' target from the Makefile. Change-Id: I36ca5b3c1ad49fe4748322fcd063fbca402bda38
14 lines
402 B
Docker
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
|