mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
cleanup
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
66ee645b0e
commit
cd0450c829
|
@ -1,25 +0,0 @@
|
|||
FROM jess/consul
|
||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||
|
||||
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||
ENV GOPATH /go
|
||||
|
||||
RUN buildDeps=' \
|
||||
go \
|
||||
git \
|
||||
gcc \
|
||||
libc-dev \
|
||||
libgcc \
|
||||
' \
|
||||
set -x \
|
||||
&& apk update \
|
||||
&& apk add $buildDeps \
|
||||
&& go get github.com/AcalephStorage/consul-alerts \
|
||||
&& mv /go/bin/consul-alerts /usr/bin/ \
|
||||
&& apk del $buildDeps \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& rm -rf /go \
|
||||
&& echo "Build complete."
|
||||
|
||||
|
||||
ENTRYPOINT [ "consul-alerts" ]
|
Loading…
Reference in New Issue
Block a user