Skip to content

Commit

Permalink
Only provide python10 in the Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Dec 7, 2023
1 parent 631e9f8 commit bdf8483
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ RUN \
lsb-release \
xdg-utils \
cmake \
python3-distutils \
python3-setuptools \
python3-virtualenv \
python3-pip \
'python3\.10' \
'python3\.10-distutils' \
'python3\.10-venv' \
Expand Down Expand Up @@ -170,32 +166,18 @@ RUN \
echo "finalized set up dependency versions"

RUN \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3 \
&& \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 \
python3.10 --version \
&& \
pip install --upgrade --force-reinstall pip virtualenv \
python3 --version
&& \
pip3 install --upgrade --force-reinstall pip virtualenv \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 \
&& \
python3.10 -m pip install --upgrade --force-reinstall pip virtualenv \
&& \
python3 -m pip install --upgrade --force-reinstall pip virtualenv \
&& \
pip install wheel==0.30.0 six==1.16.0 \
&& \
pip3 install wheel==0.30.0 six==1.16.0 \
&& \
python3.10 -m pip install wheel==0.30.0 six==1.16.0 \
&& \
python3 -m pip install wheel==0.30.0 six==1.16.0 \
&& \
pip3 install -r /opt/Empirical/doc/requirements.txt \
&& \
python3.10 -m pip install -r /opt/Empirical/doc/requirements.txt \
&& \
python3 -m pip install -r /opt/Empirical/doc/requirements.txt \
&& \
echo "installed documentation build requirements"

RUN \
Expand Down

0 comments on commit bdf8483

Please sign in to comment.