diff --git a/Dockerfile b/Dockerfile index 60626ad..581eaf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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