kopia lustrzana https://github.com/jupyterhub/repo2docker
commit
97a8a3acff
|
@ -3,7 +3,7 @@
|
|||
set -ex
|
||||
|
||||
cd $(dirname $0)
|
||||
CONDA_VERSION=4.3.30
|
||||
CONDA_VERSION=4.5.1
|
||||
URL="https://repo.continuum.io/miniconda/Miniconda3-${CONDA_VERSION}-Linux-x86_64.sh"
|
||||
INSTALLER_PATH=/tmp/miniconda-installer.sh
|
||||
|
||||
|
@ -12,7 +12,7 @@ chmod +x ${INSTALLER_PATH}
|
|||
|
||||
# Only MD5 checksums are available for miniconda
|
||||
# Can be obtained from https://repo.continuum.io/miniconda/
|
||||
MD5SUM="0b80a152332a4ce5250f3c09589c7a81"
|
||||
MD5SUM="0c28787e3126238df24c5d4858bd0744"
|
||||
|
||||
if ! echo "${MD5SUM} ${INSTALLER_PATH}" | md5sum --quiet -c -; then
|
||||
echo "md5sum mismatch for ${INSTALLER_PATH}, exiting!"
|
||||
|
|
|
@ -13,7 +13,7 @@ assert sorted(specs) == ['python2', 'python3'], specs.keys()
|
|||
import json
|
||||
from subprocess import check_output
|
||||
envs = json.loads(check_output(['conda', 'env', 'list', '--json']).decode('utf8'))
|
||||
assert envs == {'envs': ['/srv/conda/envs/kernel']}, envs
|
||||
assert envs == {'envs': ['/srv/conda', '/srv/conda/envs/kernel']}, envs
|
||||
|
||||
pkgs = json.loads(check_output(['conda', 'list', '-n', 'kernel', '--json']).decode('utf8'))
|
||||
pkg_names = [pkg['name'] for pkg in pkgs]
|
||||
|
|
Ładowanie…
Reference in New Issue