From b0ccdbf9bd3d418ae8ca16ac24b9849c22ac78ed Mon Sep 17 00:00:00 2001 From: Derek Su Date: Thu, 26 May 2022 16:03:08 +0800 Subject: [PATCH] Update protobuf to 3.18.0 Longhorn 4032 Signed-off-by: Derek Su --- Dockerfile.dapper | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 0480c28a..24bc92bc 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -4,6 +4,7 @@ ARG DAPPER_HOST_ARCH=amd64 ARG http_proxy ARG https_proxy ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} +ENV PROTOBUF_VER=3.18.0 # Setup environment ENV PATH /go/bin:$PATH @@ -45,9 +46,9 @@ RUN wget ${!GRPC_HEALTH_PROBE} -O /usr/local/bin/grpc_health_probe && \ chmod +x /usr/local/bin/grpc_health_probe # protoc -ENV PROTOC_amd64=https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protoc-3.7.1-linux-x86_64.zip \ - PROTOC_arm64=https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protoc-3.7.1-linux-aarch_64.zip \ - PROTOC_s390x=https://github.com/protocolbuffers/protobuf/releases/download/v3.18.1/protoc-3.18.1-linux-s390_64.zip \ +ENV PROTOC_amd64=https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VER}/protoc-${PROTOBUF_VER}-linux-x86_64.zip \ + PROTOC_arm64=https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VER}/protoc-${PROTOBUF_VER}-linux-aarch_64.zip \ + PROTOC_s390x=https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VER}/protoc-${PROTOBUF_VER}-linux-s390_64.zip \ PROTOC=PROTOC_${ARCH} RUN cd /usr/src && \