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
This commit is contained in:
Johannes 'fish' Ziemke 2015-02-10 17:17:04 +01:00
parent 09ca3ef824
commit 991cb23d64
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ ENV PKGPATH $GOPATH/src/github.com/prometheus/alertmanager
ENV GOROOT /usr/src/go ENV GOROOT /usr/src/go
ADD . $PKGPATH ADD . $PKGPATH
RUN cd $PKGPATH && go get -d && make build RUN cd $PKGPATH && go get -d && make
WORKDIR /alertmanager WORKDIR /alertmanager
ENTRYPOINT [ "/go/src/github.com/prometheus/alertmanager/alertmanager" ] ENTRYPOINT [ "/go/src/github.com/prometheus/alertmanager/alertmanager" ]