Skip to content

Commit

Permalink
Download arch-appropriate protoc (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>
  • Loading branch information
bobrik and rockdaboot committed Apr 17, 2024
1 parent 7d8434f commit 9293df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0

RUN \
PB_URL="https://github.com/protocolbuffers/protobuf/releases/download/v24.4/"; \
PB_FILE="protoc-24.4-linux-x86_64.zip"; \
PB_FILE="protoc-24.4-linux-$(uname -m | sed 's/aarch64/aarch_64/').zip"; \
INSTALL_DIR="/usr/local"; \
\
curl -LO "$PB_URL/$PB_FILE" \
Expand Down

0 comments on commit 9293df6

Please sign in to comment.