File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
repo2docker/buildpacks/conda Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ set -ex
55
66
77cd $( dirname $0 )
8- MINIFORGE_VERSION=4.8 .2-1
9- MAMBA_VERSION=0.6.1
8+ MINIFORGE_VERSION=4.9 .2-2
9+ MAMBA_VERSION=0.7.4
1010# SHA256 for installers can be obtained from https://github.com/conda-forge/miniforge/releases
11- SHA256SUM=" 4f897e503bd0edfb277524ca5b6a5b14ad818b3198c2f07a36858b7d88c928db "
11+ SHA256SUM=" 7a7bfaff87680298304a97ba69bcf92f66c810995a7155a2918b99fafb8ca1dc "
1212
13- URL=" https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION} /Miniforge3 -${MINIFORGE_VERSION} -Linux-x86_64.sh"
13+ URL=" https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION} /Mambaforge -${MINIFORGE_VERSION} -Linux-x86_64.sh"
1414INSTALLER_PATH=/tmp/miniforge-installer.sh
1515
1616# make sure we don't do anything funky with user's $HOME
@@ -42,10 +42,7 @@ echo 'update_dependencies: false' >> ${CONDA_DIR}/.condarc
4242# avoid future changes to default channel_priority behavior
4343conda config --system --set channel_priority " flexible"
4444
45- # do all installation with mamba
46- time conda install -y mamba==${MAMBA_VERSION}
47- # switch back to conda
48- # ln -s $CONDA_DIR/bin/conda $CONDA_DIR/bin/mamba
45+ time mamba install -y mamba==${MAMBA_VERSION}
4946
5047echo " installing notebook env:"
5148cat /tmp/environment.yml
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ from subprocess import check_output
55assert sys .version_info [:2 ] == (3 , 5 ), sys .version
66
77out = check_output (["conda" , "--version" ]).decode ("utf8" ).strip ()
8- assert out == "conda 4.8 .2" , out
8+ assert out == "conda 4.9 .2" , out
99
1010import numpy
You can’t perform that action at this time.
0 commit comments