chore: Remove ROCm tarball after extraction and standardize Dockerfile indentation.

This commit is contained in:
Donato Capitella
2025-11-30 08:49:11 +00:00
parent 7b4006b1d4
commit 0235d32a8e
+4 -3
View File
@@ -17,9 +17,10 @@ RUN set -euo pipefail; \
| grep -o "therock-dist-linux-${GFX}-${ROCM_MAJOR_VER}\.[0-9]\+\.[0-9]\+rc[0-9]\{8\}\.tar\.gz" \
| sort | tail -n1)"; \
echo "Latest tarball: ${KEY}"; \
aria2c -x 16 -s 16 -j 16 --file-allocation=none "${BASE}/${KEY}" -o therock.tar.gz
RUN mkdir -p /opt/rocm-7.0 \
&& tar xzf therock.tar.gz -C /opt/rocm-7.0 --strip-components=1
aria2c -x 16 -s 16 -j 16 --file-allocation=none "${BASE}/${KEY}" -o therock.tar.gz \
&& mkdir -p /opt/rocm-7.0 \
&& tar xzf therock.tar.gz -C /opt/rocm-7.0 --strip-components=1 \
&& rm -f therock.tar.gz
ENV ROCM_PATH=/opt/rocm-7.0 \
HIP_PLATFORM=amd \