Skip to content

Commit

Permalink
DEVP-3487 fixed version p2
Browse files Browse the repository at this point in the history
  • Loading branch information
MickStanciu committed Sep 16, 2024
1 parent 10ab00c commit 5b7c35c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
14 changes: 9 additions & 5 deletions protoc-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM golang:1.18.0-alpine as builder

ENV GRPC_GATEWAY_VERSION 2.20.0
ENV GOOGLE_PROTOBUF_VERSION 1.34.1
ENV GOOGLE_PROTOC_GEN_GO_GRPC_VERSION 1.64.0
ENV PSEUDOMUTO_PROTOC_GEN_DOC_VERSION 1.5.1
ENV PLANETSCALE_VT_PROTO_VERSION 0.6.0

#ENV GOOGLE_PROTOBUF_VERSION 1.34.1
#ENV PSEUDOMUTO_PROTOC_GEN_DOC_VERSION 1.5.1

ENV S12_PROTO_VERSION 1.31.0


ENV GOOGLE_PROTOC_GEN_GO_GRPC_VERSION 1.4.0
ENV PLANETSCALE_VT_PROTO_VERSION 0.6.0
ENV GRPC_GATEWAY_VERSION 2.20.0

# install dependencies and build/install Go
ADD . /src
RUN /src/build.sh
Expand Down
9 changes: 5 additions & 4 deletions protoc-go/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

set -o errexit

go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v${GOOGLE_PROTOC_GEN_GO_GRPC_VERSION}
go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@v${PLANETSCALE_VT_PROTO_VERSION}
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION}
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v${GRPC_GATEWAY_VERSION}
go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@v${PSEUDOMUTO_PROTOC_GEN_DOC_VERSION}
go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v${PSEUDOMUTO_PROTOC_GEN_DOC_VERSION}
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v${GOOGLE_PROTOC_GEN_GO_GRPC_VERSION}
go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOOGLE_PROTOBUF_VERSION}

#go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v${PSEUDOMUTO_PROTOC_GEN_DOC_VERSION}
#go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOOGLE_PROTOBUF_VERSION}

go install github.com/SafetyCulture/protoc-gen-ratelimit/cmd/protoc-gen-ratelimit@latest
go install github.com/SafetyCulture/protoc-gen-workato/cmd/protoc-gen-workato@latest
Expand Down

0 comments on commit 5b7c35c

Please sign in to comment.