kopia lustrzana https://github.com/jupyterhub/repo2docker
use mamba create instead of mamba env create
I'm never sure what the difference is, but mamba env create doesn't accept explicit dependency formatpull/1024/head
rodzic
93de3872a4
commit
d7c26b7a79
|
@ -46,7 +46,7 @@ time mamba install -y mamba==${MAMBA_VERSION}
|
||||||
|
|
||||||
echo "installing notebook env:"
|
echo "installing notebook env:"
|
||||||
cat /tmp/environment.yml
|
cat /tmp/environment.yml
|
||||||
time mamba env create -p ${NB_PYTHON_PREFIX} -f /tmp/environment.yml
|
time mamba create --prefix ${NB_PYTHON_PREFIX} --file /tmp/environment.yml
|
||||||
|
|
||||||
# empty conda history file,
|
# empty conda history file,
|
||||||
# which seems to result in some effective pinning of packages in the initial env,
|
# 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
|
||||||
echo "installing kernel env:"
|
echo "installing kernel env:"
|
||||||
cat /tmp/kernel-environment.yml
|
cat /tmp/kernel-environment.yml
|
||||||
|
|
||||||
time mamba env create -p ${KERNEL_PYTHON_PREFIX} -f /tmp/kernel-environment.yml
|
time mamba create --prefix ${KERNEL_PYTHON_PREFIX} --file /tmp/kernel-environment.yml
|
||||||
${KERNEL_PYTHON_PREFIX}/bin/ipython kernel install --prefix "${NB_PYTHON_PREFIX}"
|
${KERNEL_PYTHON_PREFIX}/bin/ipython kernel install --prefix "${NB_PYTHON_PREFIX}"
|
||||||
echo '' > ${KERNEL_PYTHON_PREFIX}/conda-meta/history
|
echo '' > ${KERNEL_PYTHON_PREFIX}/conda-meta/history
|
||||||
mamba list -p ${KERNEL_PYTHON_PREFIX}
|
mamba list -p ${KERNEL_PYTHON_PREFIX}
|
||||||
|
|
Ładowanie…
Reference in New Issue