You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by rs...@apache.org on 2023/09/25 20:28:36 UTC

[trafficcontrol] branch 8.0.x updated: Docs builder fixes (#7815)

This is an automated email from the ASF dual-hosted git repository.

rshah pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/8.0.x by this push:
     new 3a5c72f066 Docs builder fixes (#7815)
3a5c72f066 is described below

commit 3a5c72f0665c449c1e679ab97271ff0272b8e5cf
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Mon Sep 25 09:09:32 2023 -0600

    Docs builder fixes (#7815)
    
    * Add missing command separator
    
    * Use Python 3.8 to build the documentation
    
    (cherry picked from commit fec988e4492d2dbc3c53e51100a0c38e55df037a)
---
 infrastructure/docker/build/Dockerfile-docs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure/docker/build/Dockerfile-docs b/infrastructure/docker/build/Dockerfile-docs
index af1ec21979..216eed22cf 100644
--- a/infrastructure/docker/build/Dockerfile-docs
+++ b/infrastructure/docker/build/Dockerfile-docs
@@ -35,7 +35,7 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-* && \
 		rpm-build \
 		rsync \
 		epel-release && \
-	yum -y clean all \
+	yum -y clean all && \
 	# Add skip git's safe.directory check
 	git config --global --add safe.directory '*'
 
@@ -51,8 +51,8 @@ RUN if [[ ${RHEL_VERSION%%.*} -ge 8 ]]; then \
 ADD docs/source/requirements.txt /docs.requirements.txt
 RUN	yum -y install \
 		pandoc \
-		python3 \
-		python3-pip \
+		python38 \
+		python38-pip \
 		make && \
 	yum -y clean all
 RUN	python3 -m pip install --upgrade setuptools && \