chore: fix proto docker (#11423)
* fix proto docker * add back pull_request to test * push * push++ * revert
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM bufbuild/buf:1.0.0-rc10 as BUILDER
|
||||
FROM bufbuild/buf:1.1.0 as BUILDER
|
||||
|
||||
FROM golang:alpine
|
||||
|
||||
@@ -7,17 +7,13 @@ ENV GOLANG_PROTOBUF_VERSION=1.27.1 \
|
||||
GRPC_GATEWAY_VERSION=1.14.7
|
||||
|
||||
|
||||
RUN GO111MODULE=on go get \
|
||||
github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest \
|
||||
google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} \
|
||||
github.com/gogo/protobuf/protoc-gen-gogo@v${GOGO_PROTOBUF_VERSION} \
|
||||
github.com/gogo/protobuf/protoc-gen-gogofast@v${GOGO_PROTOBUF_VERSION} \
|
||||
github.com/gogo/protobuf/protoc-gen-gogofaster@v${GOGO_PROTOBUF_VERSION} \
|
||||
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \
|
||||
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION} \
|
||||
github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@latest
|
||||
|
||||
RUN GO111MODULE=on go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
|
||||
RUN GO111MODULE=on go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest
|
||||
RUN GO111MODULE=on go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION}
|
||||
RUN GO111MODULE=on go install github.com/gogo/protobuf/protoc-gen-gogo@v${GOGO_PROTOBUF_VERSION}
|
||||
RUN GO111MODULE=on go install github.com/gogo/protobuf/protoc-gen-gogofast@v${GOGO_PROTOBUF_VERSION}
|
||||
RUN GO111MODULE=on go install github.com/gogo/protobuf/protoc-gen-gogofaster@v${GOGO_PROTOBUF_VERSION}
|
||||
RUN GO111MODULE=on go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION}
|
||||
RUN GO111MODULE=on go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION}
|
||||
|
||||
RUN apk add --no-cache \
|
||||
nodejs \
|
||||
|
||||
Reference in New Issue
Block a user