adjust gopath in Dockerfile
This commit is contained in:
@ -3,7 +3,7 @@ FROM alpine:latest
|
|||||||
EXPOSE 9117
|
EXPOSE 9117
|
||||||
|
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
ENV APPPATH $GOPATH/src/stash.lvint.de/it/nsq_exporter
|
ENV APPPATH $GOPATH/src/github.com/lovoo/nsq_exporter
|
||||||
COPY . $APPPATH
|
COPY . $APPPATH
|
||||||
RUN apk add --update -t build-deps go git mercurial libc-dev gcc libgcc \
|
RUN apk add --update -t build-deps go git mercurial libc-dev gcc libgcc \
|
||||||
&& cd $APPPATH && go get -d && go build -o /nsq_exporter \
|
&& cd $APPPATH && go get -d && go build -o /nsq_exporter \
|
||||||
|
Reference in New Issue
Block a user