Skip to content

Commit 3f73259

Browse files
committed
ensurepip
1 parent a1863cc commit 3f73259

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cpu/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ RUN \
3636
# Set the default python and install PIP packages
3737
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
3838
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+
# install python ecosystem
40+
python -m ensurepip --upgrade
4241

4342
ENV PYTHONPATH="/usr/lib/python${PYTHON_VERSION}/site-packages:/usr/local/lib/python${PYTHON_VERSION}/site-packages"
4443

0 commit comments

Comments
 (0)