we do not need the deps around after the executable is created
This commit is contained in:
parent
438e8b98b8
commit
975b1c42ef
|
@ -0,0 +1 @@
|
|||
.deps
|
|
@ -6,7 +6,7 @@ ENV PKGPATH $GOPATH/src/github.com/prometheus/alertmanager
|
|||
ENV GOROOT /usr/src/go
|
||||
|
||||
ADD . $PKGPATH
|
||||
RUN cd $PKGPATH && go get -d && make
|
||||
RUN cd $PKGPATH && go get -d && make && rm -rf $PKGPATH/.deps
|
||||
|
||||
USER nobody
|
||||
WORKDIR /alertmanager
|
||||
|
|
Loading…
Reference in New Issue