From 4acc7d11362b32312912bc880cd0de43c0d109ae Mon Sep 17 00:00:00 2001 From: segfaultdoctor <17258903+segfaultdoc@users.noreply.github.com> Date: Thu, 16 Mar 2023 18:36:24 -0400 Subject: [PATCH] backport Dockerfile --- dev/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/Dockerfile b/dev/Dockerfile index 77b3a4189a..bab9a1c02f 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.63.0 +FROM rust:1.64-slim-bullseye as builder # Add Google Protocol Buffers for Libra's metrics library. ENV PROTOC_VERSION 3.8.0 @@ -15,7 +15,7 @@ RUN set -x \ libssl-dev \ pkg-config \ zlib1g-dev \ - make \ + curl \ && rustup component add rustfmt \ && rustup component add clippy \ && rustc --version \ @@ -31,6 +31,7 @@ COPY . . RUN mkdir -p docker-output ARG ci_commit +# NOTE: Keep this here before build since variable is referenced during CI build step. ENV CI_COMMIT=$ci_commit ARG debug