Skip to content

Commit

Permalink
Always install and upgrade pip and setuptools on WAML image
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpittwood committed Oct 25, 2024
1 parent 36cff9c commit 61d7734
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workbench-for-microsoft-azure-ml/Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ RUN /opt/python/"${PYTHON_VERSION_JUPYTER}"/bin/python -m venv /opt/python/jupyt

### Install basic data science packages for Python and R ###
COPY deps/* /
RUN /opt/python/${PYTHON_VERSION}/bin/python3 -m pip install -r /tmp/py_packages.txt \
RUN /opt/python/${PYTHON_VERSION}/bin/python3 -m pip install -U pip setuptools \
&& /opt/python/${PYTHON_VERSION}/bin/python3 -m pip install -r /tmp/py_packages.txt \
&& /opt/python/${PYTHON_VERSION}/bin/python3 -m pip cache purge \
&& /opt/python/${PYTHON_VERSION_ALT}/bin/python3 -m pip install -U pip setuptools \
&& /opt/python/${PYTHON_VERSION_ALT}/bin/python3 -m pip install -r /tmp/py_packages.txt \
&& /opt/python/${PYTHON_VERSION_ALT}/bin/python3 -m pip cache purge \
&& rm /tmp/py_packages.txt
Expand Down

0 comments on commit 61d7734

Please sign in to comment.