From 47f8d4f0f771bd8fb54670d88a25392fdc012864 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhang Date: Tue, 3 Mar 2020 11:21:29 +0800 Subject: [PATCH] Enable socks:// support of requests --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e72af19..ceef814 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apt-get update && \ apt-get install -y wget curl rsync lftp git jq python-dev python-pip yum-utils createrepo aria2 awscli ack composer php-curl php-zip RUN STATIC_DEPS=true pip3 install pyquery -RUN pip3 install requests pyyaml bandersnatch==3.6.0 +RUN pip3 install requests[socks] pyyaml bandersnatch==3.6.0 RUN cd /usr/local && git clone --depth 1 https://github.com/tuna/composer-mirror.git && cd composer-mirror && composer i COPY composer-mirror.config.php /usr/local/composer-mirror/config.php