Skip to content

Commit

Permalink
Try using py310 for docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Jun 11, 2023
1 parent 6486aa5 commit 2a15a51
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SHELL ["/bin/bash", "-c"]
# Prevent interactive time zone config.
# adapted from https://askubuntu.com/a/1013396
ENV DEBIAN_FRONTEND=noninteractive
ENV SPHINXBUILD=python3.10 -m sphinx

RUN \
echo 'Acquire::http::Timeout "60";' >> "/etc/apt/apt.conf.d/99timeout" \
Expand Down Expand Up @@ -89,6 +90,13 @@ RUN \
libasound2 \
gpg-agent \
&& \
add-apt-repository -y \
ppa:deadsnakes/ppa \
&& \
apt-get install --no-install-recommends --allow-downgrades -y \
python3.10 \
python3.10-distutils \
&& \
apt-get clean \
&& \
rm -rf /var/lib/apt/lists/* \
Expand Down Expand Up @@ -174,7 +182,11 @@ RUN \
&& \
pip3 install wheel==0.30.0 \
&& \
pip3 install --no-cache-dir -r /opt/Empirical/doc/requirements.txt \
python3.10 -m pip install wheel==0.30.0 \
&& \
pip3 install -r /opt/Empirical/doc/requirements.txt \
&& \
python3.10 -m pip install -r /opt/Empirical/doc/requirements.txt \
&& \
echo "installed documentation build requirements"

Expand Down

0 comments on commit 2a15a51

Please sign in to comment.