kopia lustrzana https://github.com/jupyterhub/repo2docker
make sure we don't touch user $HOME during install-miniconda.bash which is run as root
rodzic
c7f215c9ef
commit
92239e20c3
|
@ -8,6 +8,10 @@ CONDA_VERSION=4.5.11
|
||||||
URL="https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh"
|
URL="https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh"
|
||||||
INSTALLER_PATH=/tmp/miniconda-installer.sh
|
INSTALLER_PATH=/tmp/miniconda-installer.sh
|
||||||
|
|
||||||
|
# make sure we don't do anything funky with user's $HOME
|
||||||
|
# since this is run as root
|
||||||
|
unset HOME
|
||||||
|
|
||||||
wget --quiet $URL -O ${INSTALLER_PATH}
|
wget --quiet $URL -O ${INSTALLER_PATH}
|
||||||
chmod +x ${INSTALLER_PATH}
|
chmod +x ${INSTALLER_PATH}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue