Skip to content

Commit

Permalink
pin docker rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Aug 8, 2023
1 parent 123fd5c commit 97a6698
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ RUN apt-get clean \
# Get Rust
RUN mkdir -m755 /opt/rust /opt/cargo
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y

# set minimal rust version here to use a newer stable version
ARG CACHEBUST=1.61
ENV RUST_VERSION=1.67
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=$RUST_VERSION

# install latest stable rust toolchian, with llvm-tools-preview (for coverage)
RUN rustup toolchain install stable --component llvm-tools-preview
RUN rustup toolchain install $RUST_VERSION --component llvm-tools-preview
# Get cargo make, llvm-cov
RUN /opt/cargo/bin/cargo install --force cargo-make cargo-llvm-cov

Expand Down

0 comments on commit 97a6698

Please sign in to comment.