From cb42b3ad832152650d334d86d0bcbdc9451d8bcb Mon Sep 17 00:00:00 2001 From: David Corvoysier Date: Wed, 5 Mar 2025 11:46:58 +0100 Subject: [PATCH] fix(neuron): explicitly install toolchain (#3072) * fix(neuron): explicitly install toolchain * ci(neuron): trigger CI when Dockerfile is modified --- .github/workflows/ci_build.yaml | 1 + Dockerfile.neuron | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_build.yaml b/.github/workflows/ci_build.yaml index b5487191a..752c6dddc 100644 --- a/.github/workflows/ci_build.yaml +++ b/.github/workflows/ci_build.yaml @@ -20,6 +20,7 @@ on: - "Dockerfile" - "Dockerfile_amd" - "Dockerfile_intel" + - "Dockerfile.neuron" branches: - "main" workflow_dispatch: diff --git a/Dockerfile.neuron b/Dockerfile.neuron index 272407c76..5a22fab3d 100644 --- a/Dockerfile.neuron +++ b/Dockerfile.neuron @@ -18,8 +18,7 @@ RUN apt-get update -y \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean -COPY rust-toolchain.toml rust-toolchain.toml -RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain none +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.0 --profile minimal -y ENV PATH="/root/.cargo/bin:${PATH}" RUN cargo install cargo-chef --locked