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:
parent
09ca3ef824
commit
991cb23d64
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue