From 8aa1c1c616271be1ae896e0f73f1e1534e51a6b0 Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Tue, 16 Apr 2024 15:28:58 -0700 Subject: [PATCH] Download arch-appropriate protoc --- 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" \