make sure we don't touch user $HOME during install-miniconda.bash which is run as root
MODIFY
repo2docker/buildpacks/conda/install-miniconda.bash
repo2docker/buildpacks/conda/install-miniconda.bash
@@ -8,6 +8,10 @@ CONDA_VERSION=4.5.11
URL="https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.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}
chmod +x ${INSTALLER_PATH}

make sure we don't touch user $HOME during install-miniconda.bash which is run as root