done
This commit is contained in:
@@ -4,9 +4,12 @@ ARG LLVM_VERSION=20250514100911
|
|||||||
FROM ${LLVM_IMAGE}:${LLVM_VERSION} as builder
|
FROM ${LLVM_IMAGE}:${LLVM_VERSION} as builder
|
||||||
|
|
||||||
# Install Rust and nightly toolchain for advanced optimizations
|
# 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 RUSTUP_HOME=/usr/local/rustup
|
||||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
ENV CARGO_HOME=/usr/local/cargo
|
||||||
RUN rustup toolchain install nightly && \
|
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
|
rustup component add rust-src --toolchain nightly
|
||||||
|
|
||||||
# Install additional build dependencies
|
# Install additional build dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user