Skip to content

Commit

Permalink
fix rust environment vars inside container.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenj committed Jan 24, 2023
1 parent 96e65ce commit 80ecb7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools_container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ RUN rm -rf /usr/share/doc
# Create an image from scratch to minimize layers
FROM scratch

# Replicate necessary environment from Rust and Bullseye containers.
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
RUST_VERSION=1.66.1

LABEL maintainer="[email protected]"
ENV RUST_LOG info

Expand Down

0 comments on commit 80ecb7a

Please sign in to comment.