Skip to content

Commit a773e9a

Browse files
committed
Only provide python10 in the Docker container
1 parent 631e9f8 commit a773e9a

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

Diff for: Dockerfile

+3-21
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ RUN \
6161
lsb-release \
6262
xdg-utils \
6363
cmake \
64-
python3-distutils \
65-
python3-setuptools \
66-
python3-virtualenv \
67-
python3-pip \
6864
'python3\.10' \
6965
'python3\.10-distutils' \
7066
'python3\.10-venv' \
@@ -170,32 +166,18 @@ RUN \
170166
echo "finalized set up dependency versions"
171167

172168
RUN \
173-
curl -sS https://bootstrap.pypa.io/get-pip.py | python3 \
174-
&& \
175-
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 \
169+
python3.10 --version \
176170
&& \
177-
pip install --upgrade --force-reinstall pip virtualenv \
171+
python3 --version \
178172
&& \
179-
pip3 install --upgrade --force-reinstall pip virtualenv \
173+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 \
180174
&& \
181175
python3.10 -m pip install --upgrade --force-reinstall pip virtualenv \
182176
&& \
183-
python3 -m pip install --upgrade --force-reinstall pip virtualenv \
184-
&& \
185-
pip install wheel==0.30.0 six==1.16.0 \
186-
&& \
187-
pip3 install wheel==0.30.0 six==1.16.0 \
188-
&& \
189177
python3.10 -m pip install wheel==0.30.0 six==1.16.0 \
190178
&& \
191-
python3 -m pip install wheel==0.30.0 six==1.16.0 \
192-
&& \
193-
pip3 install -r /opt/Empirical/doc/requirements.txt \
194-
&& \
195179
python3.10 -m pip install -r /opt/Empirical/doc/requirements.txt \
196180
&& \
197-
python3 -m pip install -r /opt/Empirical/doc/requirements.txt \
198-
&& \
199181
echo "installed documentation build requirements"
200182

201183
RUN \

0 commit comments

Comments
 (0)