From ba8aea527a2affef19b8d482da98482f75e24ba8 Mon Sep 17 00:00:00 2001 From: Rim Rakhimov Date: Mon, 22 Jan 2024 07:00:53 +0400 Subject: [PATCH] Remove version updates --- docker/base.Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index e73521bf0..b89f50a8b 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -7,19 +7,12 @@ ARG PROTOC_GEN_OPENAPIV2_VERSION=2.19.0 RUN apt-get update && apt-get install -y curl wget unzip ARG TARGETARCH -RUN case ${TARGETARCH} in \ - "arm64") TARGETARCH=aarch_64 ;; \ - "amd64") TARGETARCH=x86_64 ;; \ - esac \ - && wget https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${TARGETARCH}.zip -O ./protoc.zip \ +RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${TARGETARCH}.zip -O ./protoc.zip \ && unzip protoc.zip \ && mv ./include/* /usr/include/ \ && mv ./bin/protoc /usr/bin/protoc -RUN case ${TARGETARCH} in \ - "amd64") TARGETARCH=x86_64 ;; \ - esac \ - && wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v${PROTOC_GEN_OPENAPIV2_VERSION}/protoc-gen-openapiv2-v${PROTOC_GEN_OPENAPIV2_VERSION}-linux-${TARGETARCH} -O ./protoc-gen-openapiv2 \ +RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v${PROTOC_GEN_OPENAPIV2_VERSION}/protoc-gen-openapiv2-v${PROTOC_GEN_OPENAPIV2_VERSION}-linux-${TARGETARCH} -O ./protoc-gen-openapiv2 \ && chmod +x protoc-gen-openapiv2 \ && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2