We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1863cc commit 3f73259Copy full SHA for 3f73259
cpu/Dockerfile
@@ -36,9 +36,8 @@ RUN \
36
# Set the default python and install PIP packages
37
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
+ # install python ecosystem
+ python -m ensurepip --upgrade
42
43
ENV PYTHONPATH="/usr/lib/python${PYTHON_VERSION}/site-packages:/usr/local/lib/python${PYTHON_VERSION}/site-packages"
44
0 commit comments