Add $GOPATH/bin in /usr/local/bin:/usr/local/sbin::/Users/moul/mbin:/Users/moul/mbin2:/Users/moul/node_modules/.bin:/usr/local/share/npm/bin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/moul/go/bin env var

This commit is contained in:
Manfred Touron 2017-05-19 09:49:03 +02:00
parent 30b0ec5000
commit 0f43ead321
No known key found for this signature in database
GPG Key ID: 9CCF47DF1FD978A1

View File

@ -3,3 +3,4 @@ RUN apk --update add make git go rsync
COPY . /go/src/github.com/moul/protoc-gen-gotemplate COPY . /go/src/github.com/moul/protoc-gen-gotemplate
WORKDIR /go/src/github.com/moul/protoc-gen-gotemplate WORKDIR /go/src/github.com/moul/protoc-gen-gotemplate
RUN go install . RUN go install .
ENV PATH=${PATH}:${GOPATH}/bin