kopia lustrzana https://github.com/jupyterhub/repo2docker
use latest micromamba and fix MAMBA_ROOT_PREFIX
rodzic
2e702f0248
commit
9c109f95b4
|
@ -55,6 +55,7 @@ class CondaBuildPack(BaseImage):
|
|||
("NPM_DIR", "${APP_BASE}/npm"),
|
||||
("NPM_CONFIG_GLOBALCONFIG", "${NPM_DIR}/npmrc"),
|
||||
("NB_ENVIRONMENT_FILE", self._nb_environment_file),
|
||||
("MAMBA_ROOT_PREFIX", "${CONDA_DIR}"),
|
||||
]
|
||||
if self._nb_requirements_file:
|
||||
env.append(("NB_REQUIREMENTS_FILE", self._nb_requirements_file))
|
||||
|
|
|
@ -6,7 +6,7 @@ set -ex
|
|||
|
||||
cd $(dirname $0)
|
||||
|
||||
URL="https://micro.mamba.pm/api/micromamba/linux-64/latest"
|
||||
URL="https://anaconda.org/conda-forge/micromamba/0.13.1/download/linux-64/micromamba-0.13.1-0.tar.bz2"
|
||||
|
||||
# make sure we don't do anything funky with user's $HOME
|
||||
# since this is run as root
|
||||
|
|
|
@ -5,6 +5,6 @@ from subprocess import check_output
|
|||
assert sys.version_info[:2] == (3, 5), sys.version
|
||||
|
||||
out = check_output(["/tmp/bin/micromamba", "--version"]).decode("utf8").strip()
|
||||
assert out == "0.13.0", out
|
||||
assert out == "0.13.1", out
|
||||
|
||||
import numpy
|
||||
|
|
Ładowanie…
Reference in New Issue