Skip to content

Commit 9c8753a

Browse files
committed
Avoid Rust-CUDA in Dockerfiles.
By using `rust-cuda` instead. This name is used as the WORKDIR, so the exact value shouldn't matter.
1 parent 04e5f4a commit 9c8753a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

container/rockylinux9-cuda12/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ RUN curl -sSf -L https://sh.rustup.rs | bash -s -- -y
7272
ENV PATH="/root/.cargo/bin:${PATH}"
7373

7474
# Setup the workspace
75-
WORKDIR /data/Rust-CUDA
76-
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/Rust-CUDA/rust-toolchain.toml \
75+
WORKDIR /data/rust-cuda
76+
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/rust-cuda/rust-toolchain.toml \
7777
rustup show
7878

7979
# Add nvvm to LD_LIBRARY_PATH.

container/ubuntu22-cuda11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ RUN curl -sSf -L https://sh.rustup.rs | bash -s -- -y
7171
ENV PATH="/root/.cargo/bin:${PATH}"
7272

7373
# Setup the workspace
74-
WORKDIR /data/Rust-CUDA
75-
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/Rust-CUDA/rust-toolchain.toml \
74+
WORKDIR /data/rust-cuda
75+
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/rust-cuda/rust-toolchain.toml \
7676
rustup show
7777

7878
# Add nvvm to LD_LIBRARY_PATH.

container/ubuntu22-cuda12/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ RUN curl -sSf -L https://sh.rustup.rs | bash -s -- -y
7171
ENV PATH="/root/.cargo/bin:${PATH}"
7272

7373
# Setup the workspace
74-
WORKDIR /data/Rust-CUDA
75-
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/Rust-CUDA/rust-toolchain.toml \
74+
WORKDIR /data/rust-cuda
75+
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/rust-cuda/rust-toolchain.toml \
7676
rustup show
7777

7878
# Add nvvm to LD_LIBRARY_PATH.

container/ubuntu24-cuda12/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ RUN curl -sSf -L https://sh.rustup.rs | bash -s -- -y
7171
ENV PATH="/root/.cargo/bin:${PATH}"
7272

7373
# Setup the workspace
74-
WORKDIR /data/Rust-CUDA
75-
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/Rust-CUDA/rust-toolchain.toml \
74+
WORKDIR /data/rust-cuda
75+
RUN --mount=type=bind,source=rust-toolchain.toml,target=/data/rust-cuda/rust-toolchain.toml \
7676
rustup show
7777

7878
# Add nvvm to LD_LIBRARY_PATH.

0 commit comments

Comments
 (0)