@@ -14,24 +14,24 @@ RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.19
14
14
rm -rf protoc-3.19.4-linux-x86_64.zip
15
15
16
16
RUN export GO111MODULE=on && \
17
- go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.0
17
+ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.0 && \
18
+ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0 && \
19
+ go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.5.1 && \
20
+ go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0 && \
21
+ go install github.com/envoyproxy/protoc-gen-validate@v0.6.4 && \
22
+ go install github.com/favadi/protoc-go-inject-tag@v1.4.0
18
23
19
24
RUN export GO111MODULE=off && \
20
- go get -u google.golang.org/grpc/cmd/protoc-gen-go-grpc && \
21
25
go get -u github.com/gogo/protobuf/proto && \
22
26
go get -u github.com/gogo/protobuf/gogoproto && \
23
27
go get -u github.com/gogo/protobuf/protoc-gen-gofast && \
24
28
go get -u github.com/gogo/protobuf/protoc-gen-gogo && \
25
29
go get -u github.com/gogo/protobuf/protoc-gen-gogofast && \
26
30
go get -u github.com/gogo/protobuf/protoc-gen-gogofaster && \
27
- go get -u github.com/gogo/protobuf/protoc-gen-gogoslick && \
28
- go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc && \
29
- go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway && \
30
- go get -u github.com/envoyproxy/protoc-gen-validate && \
31
- go get -u github.com/favadi/protoc-go-inject-tag
31
+ go get -u github.com/gogo/protobuf/protoc-gen-gogoslick
32
32
33
33
RUN mkdir -p /go/src/github.com/google /go/src/github.com/p4lang && \
34
- git clone --branch main https://github.com/google /protobuf /go/src/github.com/google/protobuf && \
34
+ git clone --branch 3.19.x https://github.com/protocolbuffers /protobuf /go/src/github.com/google/protobuf && \
35
35
git clone --branch master https://github.com/openconfig/gnmi /go/src/github.com/openconfig/gnmi && \
36
36
git clone --branch main https://github.com/p4lang/p4runtime /go/src/github.com/p4lang/p4runtime && \
37
37
git clone --branch main https://github.com/googleapis/api-common-protos /go/src/github.com/googleapis/api-common-protos && \
0 commit comments