Skip to content

Commit

Permalink
backport Dockerfile (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultdoc committed Mar 24, 2023
1 parent 80361cc commit e291d4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit e291d4b

Please sign in to comment.