adjust gopath in Dockerfile
This commit is contained in:
@ -3,7 +3,7 @@ FROM alpine:latest
|
||||
EXPOSE 9117
|
||||
|
||||
ENV GOPATH /go
|
||||
ENV APPPATH $GOPATH/src/stash.lvint.de/it/nsq_exporter
|
||||
ENV APPPATH $GOPATH/src/github.com/lovoo/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 \
|
||||
|
Reference in New Issue
Block a user