github.com/Finschia/finschia-sdk@v0.48.1/contrib/devtools/dockerfile (about) 1 FROM bufbuild/buf:latest as BUILDER 2 3 FROM golang:alpine 4 5 ENV GOLANG_PROTOBUF_VERSION=1.3.5 \ 6 GOGO_PROTOBUF_VERSION=1.3.2 \ 7 GRPC_GATEWAY_VERSION=1.14.7 8 9 10 RUN GO111MODULE=on go get \ 11 github.com/golang/protobuf/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} \ 12 github.com/gogo/protobuf/protoc-gen-gogo@v${GOGO_PROTOBUF_VERSION} \ 13 github.com/gogo/protobuf/protoc-gen-gogofast@v${GOGO_PROTOBUF_VERSION} \ 14 github.com/gogo/protobuf/protoc-gen-gogofaster@v${GOGO_PROTOBUF_VERSION} \ 15 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \ 16 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION} \ 17 github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@latest 18 19 RUN GO111MODULE=on go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc 20 21 RUN apk add --no-cache \ 22 nodejs \ 23 npm 24 25 RUN npm install -g swagger-combine 26 27 COPY --from=BUILDER /usr/local/bin /usr/local/bin