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"