From 7d289b266347a4638baa3e8ad0da94ca25e0ef7b Mon Sep 17 00:00:00 2001 From: Hugo Larcher Date: Mon, 3 Mar 2025 10:30:55 +0100 Subject: [PATCH] fix: PR comments, use rust-toolchain.toml --- Dockerfile.neuron | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.neuron b/Dockerfile.neuron index 5e34b345edc..272407c76e5 100644 --- a/Dockerfile.neuron +++ b/Dockerfile.neuron @@ -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