initial commit

This commit is contained in:
louis
2015-12-11 15:22:25 +01:00
commit 37b0428070
10 changed files with 651 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM alpine:latest
EXPOSE 9117
ENV GOPATH /go
ENV APPPATH $GOPATH/src/stash.lvint.de/it/nsq_exporter
COPY . $APPPATH
RUN apk add --update -t build-deps go git mercurial libc-dev gcc libgcc \
&& cd $APPPATH && go get -d && go build -o /nsq_exporter \
&& apk del --purge build-deps && rm -rf $GOPATH
ENTRYPOINT ["/nsq_exporter"]