diff --git a/Dockerfile b/Dockerfile index 0d567c3..1a277af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,10 @@ MAINTAINER Justin Wong RUN apt-get update && \ apt-get install -y wget curl rsync lftp git jq python3-dev python3-pip yum-utils createrepo aria2 ack composer php-curl php-zip - -RUN STATIC_DEPS=true pip3 install pyquery -RUN pip3 install requests[socks] pyyaml gsutil awscli + +RUN pip3 install --upgrade pip +RUN STATIC_DEPS=true python3 -m pip install pyquery +RUN python3 -m pip install requests[socks] pyyaml gsutil awscli 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