Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
Jess Frazelle 2016-05-14 11:09:03 -07:00
parent 66ee645b0e
commit cd0450c829
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -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" ]