diff --git a/test_s3.Dockerfile b/test_s3.Dockerfile index d0d8363..eff14f2 100644 --- a/test_s3.Dockerfile +++ b/test_s3.Dockerfile @@ -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