From 15a2cd6ac0bac221d05db10fc3dd75b6d6046a40 Mon Sep 17 00:00:00 2001 From: Para Dox Date: Sun, 25 May 2025 15:19:19 +0700 Subject: [PATCH] done --- reth.Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reth.Dockerfile b/reth.Dockerfile index fb5e0c63..8e261524 100644 --- a/reth.Dockerfile +++ b/reth.Dockerfile @@ -4,9 +4,12 @@ ARG LLVM_VERSION=20250514100911 FROM ${LLVM_IMAGE}:${LLVM_VERSION} as builder # Install Rust and nightly toolchain for advanced optimizations -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal -ENV PATH="/root/.cargo/bin:${PATH}" -RUN rustup toolchain install nightly && \ +ENV RUSTUP_HOME=/usr/local/rustup +ENV CARGO_HOME=/usr/local/cargo +ENV PATH=/usr/local/cargo/bin:$PATH +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ + sh -s -- -y --no-modify-path --default-toolchain stable --profile minimal && \ + rustup toolchain install nightly && \ rustup component add rust-src --toolchain nightly # Install additional build dependencies