mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-22 14:12:53 +00:00
we do not need the deps around after the executable is created
This commit is contained in:
parent
438e8b98b8
commit
975b1c42ef
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -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
Block a user