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}
4646
4747echo " installing notebook env:"
4848cat /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
5050
5151# empty conda history file,
5252# 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
5959 echo " installing kernel env:"
6060 cat /tmp/kernel-environment.yml
6161
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
6363 ${KERNEL_PYTHON_PREFIX} /bin/ipython kernel install --prefix " ${NB_PYTHON_PREFIX} "
6464 echo ' ' > ${KERNEL_PYTHON_PREFIX} /conda-meta/history
6565 mamba list -p ${KERNEL_PYTHON_PREFIX}
You can’t perform that action at this time.
0 commit comments