File tree 1 file changed +2
-4
lines changed 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,13 @@ RUN \
30
30
python${PYTHON_VERSION} \
31
31
python${PYTHON_VERSION}-dev \
32
32
$( if [ "${PYTHON_VERSION%%.*}" -eq 3 ] && [ "${PYTHON_VERSION#*.}" -lt 10 ]; then echo "python${PYTHON_VERSION}-distutils" ; fi ) \
33
+ python${PYTHON_VERSION}-pip \
33
34
curl \
34
35
wget && \
35
36
rm -rf /var/lib/apt/lists/* && \
36
37
# Set the default python and install PIP packages
37
38
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
38
- update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
39
- # install python dependencies
40
- PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
41
- curl $PIP_URL | python
39
+ update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1
42
40
43
41
ENV PYTHONPATH="/usr/lib/python${PYTHON_VERSION}/site-packages:/usr/local/lib/python${PYTHON_VERSION}/site-packages"
44
42
You can’t perform that action at this time.
0 commit comments