This commit is contained in:
2026-03-14 01:42:15 +08:00
parent 5da1c1a918
commit 4e11b7f06b
+6 -2
View File
@@ -3,7 +3,11 @@ FROM registry.fedoraproject.org/fedora:43
RUN dnf -y install --setopt=install_weak_deps=False --nodocs curl && dnf clean all
RUN echo "=== Test 1: Direct connection ===" && \
curl -s "https://therock-nightly-tarball.s3.amazonaws.com?list-type=2&prefix=therock-dist-linux-gfx120X-all-7" | head -50
curl -s "https://therock-nightly-tarball.s3.amazonaws.com?list-type=2&prefix=therock-dist-linux-gfx120X-all-7" > /tmp/direct.xml && \
echo "Direct result size: $(wc -c < /tmp/direct.xml) bytes" && \
grep -o "therock-dist-linux-gfx120X-all-7[^\"]*\.tar\.gz" /tmp/direct.xml | head -5
RUN echo "=== Test 2: SOCKS5 proxy ===" && \
curl -x socks5://192.168.0.11:1080 -s "https://therock-nightly-tarball.s3.amazonaws.com?list-type=2&prefix=therock-dist-linux-gfx120X-all-7" | head -50
curl -x socks5://192.168.0.11:1080 -s "https://therock-nightly-tarball.s3.amazonaws.com?list-type=2&prefix=therock-dist-linux-gfx120X-all-7" > /tmp/proxy.xml && \
echo "Proxy result size: $(wc -c < /tmp/proxy.xml) bytes" && \
grep -o "therock-dist-linux-gfx120X-all-7[^\"]*\.tar\.gz" /tmp/proxy.xml | head -5