File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
4343 && echo "conda activate base" >> ~/.bashrc \
4444 && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts/add-notice.sh
4545
46- # Since anaconda distribution 2023.03-1, continuumio/anaconda3 image no more contains `anaconda` pkg.
47- RUN conda update -n base -c defaults conda \
48- && conda install --yes anaconda
49-
5046# Temporary: Upgrade python packages due to mentioned CVEs
5147# They are installed by the base image (continuumio/anaconda3) which does not have the patch.
5248RUN python3 -m pip install \
Original file line number Diff line number Diff line change 4444 "conda" : {
4545 "cgIgnore" : true ,
4646 "path" : " /opt/conda"
47- },
48- "anaconda" : {
49- "cgIgnore" : true ,
50- "path" : " /opt/conda" ,
51- "versionCommand" : " conda list anaconda$ | grep -oP 'anaconda\\ s+\\ K[^\\ s]+'"
5247 }
5348 },
5449 "languages" : {
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ checkCommon
88
99# Image specific tests
1010check " conda" conda --version
11- check " anaconda" bash -c " conda list anaconda$ | grep -oP 'anaconda\\ s+\\ K[^\\ s]+'"
1211check " python" python --version
1312check " pylint" pylint --version
1413check " flake8" flake8 --version
@@ -43,8 +42,7 @@ checkPythonPackageVersion "werkzeug" "2.2.3"
4342checkPythonPackageVersion " certifi" " 2022.12.07"
4443checkPythonPackageVersion " requests" " 2.31.0"
4544
46- # https://github.com/conda/conda/issues/8149
47- check " conda-update-conda" bash -c " conda update --force conda"
45+ check " conda-update-conda" bash -c " conda update -y conda"
4846check " conda-install" bash -c " conda install -c conda-forge --yes tensorflow"
4947check " conda-install" bash -c " conda install -c conda-forge --yes pytorch"
5048
You can’t perform that action at this time.
0 commit comments