From 582ec570d0e2ac2f6145c8de70bac2ba06826de5 Mon Sep 17 00:00:00 2001 From: SZCJW <792430652@qq.com> Date: Sat, 14 Mar 2026 01:27:23 +0800 Subject: [PATCH] x --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 664bfc0..c1fb2bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,12 +19,12 @@ ARG GFX=gfx120X-all RUN set -euo pipefail; \ BASE="https://therock-nightly-tarball.s3.amazonaws.com"; \ PREFIX="therock-dist-linux-${GFX}-${ROCM_MAJOR_VER}"; \ - KEY="$(proxychains curl -s "${BASE}?list-type=2&prefix=${PREFIX}" \ + KEY="$(curl -x socks5://192.168.0.11:1080 -s "${BASE}?list-type=2&prefix=${PREFIX}" \ | tr '<' '\n' \ | grep -o "therock-dist-linux-${GFX}-${ROCM_MAJOR_VER}\..*\.tar\.gz" \ | sort -V | tail -n1)"; \ echo "Downloading Latest Tarball: ${KEY}"; \ - proxychains aria2c -x 16 -s 16 -j 16 --file-allocation=none "${BASE}/${KEY}" -o therock.tar.gz; \ + curl -x socks5://192.168.0.11:1080 -L -o therock.tar.gz "${BASE}/${KEY}"; \ mkdir -p /opt/rocm; \ tar xzf therock.tar.gz -C /opt/rocm --strip-components=1; \ rm therock.tar.gz