mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
docker: fix build error on installing cryptography
This commit is contained in:
parent
836c5681bd
commit
8431deb7ff
@ -3,9 +3,10 @@ MAINTAINER Justin Wong <yuzhi.wang@tuna.tsinghua.edu.cn>
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user