Skip to content

Commit 62bc106

Browse files
committed
ppa:deadsnakes/ppa
1 parent 1ece635 commit 62bc106

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cpu/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ ENV DEBIAN_FRONTEND=noninteractive \
1919

2020
RUN \
2121
# add sources for older pythons
22-
apt-get update -q --fix-missing && \
22+
apt-get update -qq --fix-missing && \
2323
apt-get install -y --no-install-recommends software-properties-common && \
24-
# add-apt-repository ppa:deadsnakes/ppa && \
24+
add-apt-repository ppa:deadsnakes/ppa && \
2525
apt-add-repository universe && \
2626
apt-get -y update -qq --fix-missing && \
2727
apt-get -y install --no-install-recommends \
@@ -32,13 +32,10 @@ RUN \
3232
wget \
3333
&& \
3434
rm -rf /var/lib/apt/lists/* && \
35-
3635
# Set the default python and install PIP packages
3736
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
3837
update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
39-
4038
# install python dependencies
41-
# sysctl -w net.ipv4.ip_forward=1 ; \
4239
apt-get -y install --no-install-recommends python${PYTHON_VERSION}-distutils && \
4340
PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
4441
curl $PIP_URL | python

0 commit comments

Comments
 (0)