From 9293df60eb4ee5e1753c266bf83079bbc33de2d8 Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Tue, 16 Apr 2024 23:51:17 -0700 Subject: [PATCH] Download arch-appropriate protoc (#7) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Rühsen --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7b3e2d23..b6697d0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" \