From 802c19db0a9afb3ad64838b2c793d6c8b977f949 Mon Sep 17 00:00:00 2001 From: SZCJW <792430652@qq.com> Date: Sat, 14 Mar 2026 01:31:47 +0800 Subject: [PATCH] x --- test_proxy2.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test_proxy2.Dockerfile diff --git a/test_proxy2.Dockerfile b/test_proxy2.Dockerfile new file mode 100644 index 0000000..bcedaa0 --- /dev/null +++ b/test_proxy2.Dockerfile @@ -0,0 +1,6 @@ +FROM registry.fedoraproject.org/fedora:43 + +RUN dnf -y install --setopt=install_weak_deps=False --nodocs curl && dnf clean all + +RUN curl -x socks5://192.168.0.11:1080 -s https://www.google.com -o /dev/null && echo "SOCKS5 SUCCESS" || echo "SOCKS5 FAILED" +RUN curl -x http://192.168.0.11:1080 -s https://www.google.com -o /dev/null && echo "HTTP SUCCESS" || echo "HTTP FAILED"