-
Type: Sub-task
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: protos
-
Labels:None
-
Story Points:0
1) Remove GO111MODULE=on
2) Replace github protobuf with google.golang
- github.com/golang/protobuf/protoc-gen-go@v$PROTOC_GEN_GO_VERSION
- google.golang.org/protobuf/protoc-gen-go@v$PROTOC_GEN_GO_VERSION
3) Install now fails with
grpc-gateway/protoc-gen-grpc-gateway@v1.14.3:
all arguments must have the same version (@v)
RUN GO111MODULE=on CGO_ENABLED=0 go install -a \
google.golang.org/protobuf/protoc-gen-go@v$PROTOC_GEN_GO_VERSION \
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v$PROTOC_GEN_GRPC_GATEWAY_VERSION \
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v$PROTOC_GEN_GRPC_GATEWAY_VERSION
Cannot simply use 1.14.3, protoc-gen-go@ does not exist.