mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
Refactor ere-dockerized (#77)
This commit is contained in:
@@ -9,16 +9,13 @@ FROM ${BASE_IMAGE_TAG}
|
||||
COPY scripts/sdk_installers/install_nexus_sdk.sh /tmp/install_nexus_sdk.sh
|
||||
RUN chmod +x /tmp/install_nexus_sdk.sh
|
||||
|
||||
RUN rustup default nightly-2025-06-05 && \
|
||||
rustup target add riscv32i-unknown-none-elf
|
||||
|
||||
# Run the Nexus SDK installation script.
|
||||
# This script installs the specific Rust toolchain (nightly-2025-06-05)
|
||||
# and installs cargo-nexus
|
||||
# The CARGO_HOME from ere-base (e.g., /root/.cargo) will be used, and cargo-nexus will be in its bin.
|
||||
RUN /tmp/install_nexus_sdk.sh && rm /tmp/install_nexus_sdk.sh # Clean up the script
|
||||
|
||||
# Define the Nexus toolchain for convenience in subsequent commands if needed, though cargo-nexus should use it.
|
||||
# Define the Nexus toolchain for convenience in subsequent commands if needed, though cargo pico should use it.
|
||||
ENV NEXUS_TOOLCHAIN_VERSION="nightly-2025-06-05"
|
||||
|
||||
# Set default toolchain
|
||||
|
||||
@@ -35,7 +35,7 @@ RUN wget https://developer.download.nvidia.com/compute/cuda/repos/$(. /etc/os-re
|
||||
dpkg -i cuda-keyring_1.1-1_all.deb && \
|
||||
rm cuda-keyring_1.1-1_all.deb && \
|
||||
apt update && \
|
||||
apt install -y cuda-toolkit && \
|
||||
apt install -y cuda-toolkit-12-9 && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# If current environment is in CI or not.
|
||||
|
||||
Reference in New Issue
Block a user