Skip to content

Commit cb3f20f

Browse files
committed
Set rust default to arm for sbsa image
1 parent 76f9d6a commit cb3f20f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile.GPU-buster-cross-sbsa

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ RUN dpkg --add-architecture arm64; \
2323
apt-get update; \
2424
apt-get install -y cuda-nvcc-${VER} cuda-nvcc-cross-sbsa-${VER} cuda-cudart-cross-sbsa-${VER} libcublas-cross-sbsa-${VER}; \
2525
rm -rf /var/lib/apt/lists/*; \
26-
curl https://sh.rustup.rs -sSf | \
27-
sh -s -- --default-toolchain stable -y; \
28-
rustup target add \
29-
x86_64-unknown-linux-gnu \
30-
aarch64-unknown-linux-gnu; \
26+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
27+
sh -s -- --profile minimal --default-host aarch64-unknown-linux-gnu -y; \
3128
curl https://apt.llvm.org/llvm.sh -sSf | \
3229
bash -s -- 20; \
3330
echo "set(CMAKE_SYSTEM_NAME Linux)" > /opt/toolchain.cmake; \

0 commit comments

Comments
 (0)