From ccee7f7730933fa0320ecc5bfeb21b769dbb5fa9 Mon Sep 17 00:00:00 2001 From: KagChi <59391215+KagChi@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:58:49 +0000 Subject: [PATCH] chore: update --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3bde8a3..d44430c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,13 @@ RUN apt-get update && \ apt-get install -y curl gcc g++ cmake make # Step 2: Install Rust -RUN curl -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly -y && rustup component add rust-src --toolchain nightly-aarch64-unknown-linux-gnu +RUN curl -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly -y # Step 3: Set environment variables ENV PATH="/root/.cargo/bin:${PATH}" +RUN rustup component add rust-src --toolchain nightly-aarch64-unknown-linux-gnu + WORKDIR /build # Step 4: Copy necessary files