From bdf84832e584ec0fcdbff5091c2d4616bd193be2 Mon Sep 17 00:00:00 2001 From: Matthew Andres Moreno Date: Thu, 7 Dec 2023 18:09:25 -0500 Subject: [PATCH] Only provide python10 in the Docker container --- Dockerfile | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6879625359..d1dd0fea74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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' \ @@ -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 \