summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2019-08-30 11:11:06 +0800
committerLu Qiuwen <[email protected]>2019-08-30 11:11:06 +0800
commit2e39a29f2c5b4cb43123c26fce63f6181e9d381a (patch)
tree0eece0e1eb0a7725b011c60c3620e63be35eccb8
parent09a5576cbda8d17da46431f81beab729cfda0f90 (diff)
使用aliyun作为PyPI的源
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index fbf2c4f..4b777c0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ RUN yum install -y gcc gcc-c++ make libpcap-devel epel-release patch wget socat
yum install -y pulp-rpm-handlers pulp-rpm-yumplugins pulp-puppet-handlers python-gofer-qpid && \
yum install -y pulp-admin-client pulp-rpm-admin-extensions pulp-puppet-admin-extensions pulp-docker-admin-extensions && \
yum install -y python-pip && \
- pip install --no-cache-dir cmake && \
+ pip install -i https://mirrors.aliyun.com/pypi/simple/ --no-cache-dir cmake && \
yum clean all && \
rm -rf /var/cache/yum