Files
vllm-r9700-container/test_s3.Dockerfile
T
2026-03-14 01:42:15 +08:00

14 lines
839 B
Docker

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" > /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" > /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