install latest bandersnatch

This commit is contained in:
Yuxiang Zhang 2020-05-02 18:53:48 +08:00 committed by GitHub
parent 4a472d98b8
commit c71008f008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ RUN apt-get update && \
apt-get install -y wget curl rsync lftp git jq python3-dev python3-pip yum-utils createrepo aria2 awscli ack composer php-curl php-zip apt-get install -y wget curl rsync lftp git jq python3-dev python3-pip yum-utils createrepo aria2 awscli ack composer php-curl php-zip
RUN STATIC_DEPS=true pip3 install pyquery RUN STATIC_DEPS=true pip3 install pyquery
RUN pip3 install requests[socks] pyyaml gsutil bandersnatch==3.6.0 RUN pip3 install requests[socks] pyyaml gsutil bandersnatch
RUN cd /usr/local && git clone --depth 1 https://github.com/tuna/composer-mirror.git && cd composer-mirror && composer i 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 COPY composer-mirror.config.php /usr/local/composer-mirror/config.php