Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update some protoc-base versions #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proto/01-protoc-base/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
44a6b498e996b845edef83864734c0e52f42197e85c9d567af55f4e3ff09d755 protoc-3.20.3-linux-x86_64.zip
cf659ab2367a47590651deb3beb8d6ea177cbd7ff2124ea0d12de06d3181f5c5 protoc-gen-grpc-java-1.50.2-linux-x86_64.exe
a11482bf02d3a308395e81a10cc3335aa7573c185e2ed9780d55228956d6e327 protoc-gen-grpc-java-1.56.0-linux-x86_64.exe
4 changes: 2 additions & 2 deletions proto/01-protoc-base/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ python3 -m pip list
# Note: should not update past 3.20.x until https://github.com/protocolbuffers/protobuf-javascript/issues/127 is fixed

wget -q "https://github.com/protocolbuffers/protobuf/releases/download/v3.20.3/protoc-3.20.3-linux-x86_64.zip"
wget -q "https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.50.2/protoc-gen-grpc-java-1.50.2-linux-x86_64.exe"
wget -q "https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.56.0/protoc-gen-grpc-java-1.56.0-linux-x86_64.exe"
sha256sum --check "${__dir}/checksums.txt"

unzip protoc-3.20.3-linux-x86_64.zip -d /opt/protoc
rm protoc-3.20.3-linux-x86_64.zip

mv protoc-gen-grpc-java-1.50.2-linux-x86_64.exe /opt/protoc-gen-grpc-java
mv protoc-gen-grpc-java-1.56.0-linux-x86_64.exe /opt/protoc-gen-grpc-java
chmod +x /opt/protoc-gen-grpc-java

mkdir -p /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion proto/01-protoc-base/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
grpcio-tools==1.50.0
grpcio-tools==1.54.2
7 changes: 5 additions & 2 deletions proto/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

FROM golang:1 as go-build

ARG PROTOC_GEN_GO_VERSION=v1.28
ARG PROTOC_GEN_GO_GRPC_VERSION=v1.2
# https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions
ARG PROTOC_GEN_GO_VERSION=v1.30

# https://pkg.go.dev/google.golang.org/grpc/cmd/protoc-gen-go-grpc?tab=versions
ARG PROTOC_GEN_GO_GRPC_VERSION=v1.3

RUN set -eux; \
go install google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GEN_GO_VERSION}; \
Expand Down