You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/10/10 18:26:34 UTC
[trafficcontrol] 36/39: Using a more modern Python version to build
docs
This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit 22c74431f2c37912c5e7c9977606c2dfa0b45e7a
Author: ocket8888 <oc...@gmail.com>
AuthorDate: Thu Oct 4 14:04:09 2018 -0600
Using a more modern Python version to build docs
---
infrastructure/docker/build/Dockerfile-docs | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/infrastructure/docker/build/Dockerfile-docs b/infrastructure/docker/build/Dockerfile-docs
index 71c7f37..58f818f 100644
--- a/infrastructure/docker/build/Dockerfile-docs
+++ b/infrastructure/docker/build/Dockerfile-docs
@@ -32,11 +32,12 @@ RUN yum -y install \
### docs specific requirements
ADD docs/source/requirements.txt /docs.requirements.txt
RUN yum -y install \
- python-pip \
+ python34 \
+ python34-pip \
make && \
yum -y clean all && \
- pip install --upgrade setuptools && \
- pip install -r /docs.requirements.txt
+ python3 -m pip install --upgrade setuptools && \
+ python3 -m pip install -r /docs.requirements.txt
###
ADD infrastructure/docker/build/clean_build.sh /