protoc-gen-go-micro/Dockerfile

14 lines
369 B
Docker
Raw Normal View History

2017-10-10 10:58:05 +02:00
FROM znly/protoc
ENV GOPATH=/go \
PATH=/go/bin:${PATH}
# Install deps and common tools
RUN apk --update add make git go rsync libc-dev \
&& go get -u golang.org/x/tools/cmd/goimports
# Install protoc-gen-gotemplate
COPY . /go/src/github.com/moul/protoc-gen-gotemplate
WORKDIR /go/src/github.com/moul/protoc-gen-gotemplate
2017-10-26 16:48:58 +02:00
RUN go install . ./cmd/web-editor