From e25c4cb9f2ba21e9b77e04459f2ecb0226a96401 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 10 Jan 2023 13:35:55 -0700 Subject: [PATCH] Remove protoc from docker image --- ci/docker-rust/Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ci/docker-rust/Dockerfile b/ci/docker-rust/Dockerfile index d8713dbe02e87e..5e36db91215a51 100644 --- a/ci/docker-rust/Dockerfile +++ b/ci/docker-rust/Dockerfile @@ -2,10 +2,6 @@ # ci/rust-version.sh to pick up the new image tag FROM rust:1.65.0 -# Add Google Protocol Buffers for Libra's metrics library. -ENV PROTOC_VERSION 3.8.0 -ENV PROTOC_ZIP protoc-$PROTOC_VERSION-linux-x86_64.zip - RUN set -x \ && apt update \ && apt-get install apt-transport-https \ @@ -41,8 +37,4 @@ RUN set -x \ && cargo install svgbob_cli \ && cargo install wasm-pack \ && rustc --version \ - && cargo --version \ - && curl -OL https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP \ - && unzip -o $PROTOC_ZIP -d /usr/local bin/protoc \ - && unzip -o $PROTOC_ZIP -d /usr/local include/* \ - && rm -f $PROTOC_ZIP + && cargo --version