Set GOPROXY
Hope this will help with
@@ -21,11 +21,12 @@ RUN wget -O protoc.zip https://github.com/google/protobuf/releases/download/v${P
RUN unzip protoc.zip -d protoc
# Install protoc-gen-go and grpc-gateway binaries; then generate files.
-FROM golang:1.12.9-alpine3.10 AS generateFiles
+FROM golang:1.13.4-alpine3.10 AS generateFiles
RUN apk add --no-cache protobuf=3.6.1-r1 git
COPY --from=protoc /protoc/include /usr/local/include
+ENV GOPROXY=https://proxy.golang.org
ENV GIT_TAG=v1.2.0
RUN go get -d -u github.com/golang/protobuf/protoc-gen-go
RUN git -C "$(go env GOPATH)"/src/github.com/golang/protobuf checkout $GIT_TAG
