perf: dockerfiles (#14793)

This commit is contained in:
Robert Zaremba
2023-01-26 21:21:54 +01:00
committed by GitHub
parent 938143f038
commit be9bd7a8c1
9 changed files with 82 additions and 77 deletions
+5 -5
View File
@@ -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