File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ ENV DEBIAN_FRONTEND=noninteractive \
19
19
20
20
RUN \
21
21
# add sources for older pythons
22
- apt-get update -q --fix-missing && \
22
+ apt-get update -qq --fix-missing && \
23
23
apt-get install -y --no-install-recommends software-properties-common && \
24
- # add-apt-repository ppa:deadsnakes/ppa && \
24
+ add-apt-repository ppa:deadsnakes/ppa && \
25
25
apt-add-repository universe && \
26
26
apt-get -y update -qq --fix-missing && \
27
27
apt-get -y install --no-install-recommends \
@@ -32,13 +32,10 @@ RUN \
32
32
wget \
33
33
&& \
34
34
rm -rf /var/lib/apt/lists/* && \
35
-
36
35
# Set the default python and install PIP packages
37
36
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
38
37
update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
39
-
40
38
# install python dependencies
41
- # sysctl -w net.ipv4.ip_forward=1 ; \
42
39
apt-get -y install --no-install-recommends python${PYTHON_VERSION}-distutils && \
43
40
PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
44
41
curl $PIP_URL | python
You can’t perform that action at this time.
0 commit comments