fix: PR comments, use rust-toolchain.toml

This commit is contained in:
Hugo Larcher 2025-03-03 10:30:55 +01:00
parent ca8763bc54
commit 7d289b2663
No known key found for this signature in database
GPG Key ID: 3DAF63124699CA2B

View File

@ -18,7 +18,8 @@ RUN apt-get update -y \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.84.0 --profile minimal -y
COPY rust-toolchain.toml rust-toolchain.toml
RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain none
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install cargo-chef --locked