perf: dockerfiles (#14793)
This commit is contained in:
@@ -22,10 +22,10 @@ USER $UNAME
|
||||
ENV GOLANG_PROTOBUF_VERSION=1.28.1 \
|
||||
GRPC_GATEWAY_VERSION=1.16.0
|
||||
|
||||
RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest
|
||||
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION}
|
||||
RUN go install 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}
|
||||
RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest && \
|
||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} && \
|
||||
go install 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}
|
||||
|
||||
# install all gogo protobuf binaries
|
||||
RUN git clone https://github.com/cosmos/gogoproto.git; \
|
||||
@@ -33,4 +33,4 @@ RUN git clone https://github.com/cosmos/gogoproto.git; \
|
||||
go mod download; \
|
||||
make install
|
||||
|
||||
COPY --from=BUILDER /usr/local/bin /usr/local/bin
|
||||
COPY --from=BUILDER /usr/local/bin /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user