File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
repo2docker/buildpacks/conda Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ time mamba install -y mamba==${MAMBA_VERSION}
46
46
47
47
echo " installing notebook env:"
48
48
cat /tmp/environment.yml
49
- time mamba env create -p ${NB_PYTHON_PREFIX} -f /tmp/environment.yml
49
+ time mamba create --prefix ${NB_PYTHON_PREFIX} --file /tmp/environment.yml
50
50
51
51
# empty conda history file,
52
52
# which seems to result in some effective pinning of packages in the initial env,
@@ -59,7 +59,7 @@ if [[ -f /tmp/kernel-environment.yml ]]; then
59
59
echo " installing kernel env:"
60
60
cat /tmp/kernel-environment.yml
61
61
62
- time mamba env create -p ${KERNEL_PYTHON_PREFIX} -f /tmp/kernel-environment.yml
62
+ time mamba create --prefix ${KERNEL_PYTHON_PREFIX} --file /tmp/kernel-environment.yml
63
63
${KERNEL_PYTHON_PREFIX} /bin/ipython kernel install --prefix " ${NB_PYTHON_PREFIX} "
64
64
echo ' ' > ${KERNEL_PYTHON_PREFIX} /conda-meta/history
65
65
mamba list -p ${KERNEL_PYTHON_PREFIX}
You can’t perform that action at this time.
0 commit comments