File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,10 @@ ARG PYTHON_VERSION
2121RUN MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"; \
2222 wget --quiet $MINICONDA_URL -O /tmp/miniconda.sh && \
2323 /bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
24- rm /tmp/miniconda.sh && \
25- # Install the correct version of python (as the time of
26- # writing, anaconda installed python 3.9 by default)
27- /opt/conda/bin/conda install python=${PYTHON_VERSION} && \
28- /opt/conda/bin/conda clean --all
24+ rm /tmp/miniconda.sh
2925
3026ENV PATH=/opt/conda/bin:$PATH
3127
32- ENV PIP_TARGET=/opt/conda/lib/python${PYTHON_VERSION}/site-packages
3328
3429# Remove the system wide .profile file, because it overwrites the $PATH variable
3530# and therefore the /opt/conda/bin directory is not in the $PATH.
You can’t perform that action at this time.
0 commit comments