Skip to content

Commit

Permalink
Docs builder fixes (#7815)
Browse files Browse the repository at this point in the history
* Add missing command separator

* Use Python 3.8 to build the documentation
  • Loading branch information
zrhoffman committed Sep 25, 2023
1 parent 314f906 commit fec988e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infrastructure/docker/build/Dockerfile-docs
Original file line number Diff line number Diff line change
Expand Up @@ -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 '*'

Expand All @@ -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 && \
Expand Down

0 comments on commit fec988e

Please sign in to comment.