Skip to content

Commit

Permalink
Try using mambaforge instead of conda
Browse files Browse the repository at this point in the history
I don't think this will help
  • Loading branch information
yuvipanda committed Oct 27, 2021
1 parent 382b4bd commit b4362e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deployments/datahub/images/default/install-miniforge.bash
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
# This downloads and installs a pinned version of miniconda
# This downloads and installs a pinned version of mambaforge
set -ex

cd $(dirname $0)
MINIFORGE_VERSION=4.10.3-4
MAMBAFORGE_VERSION=4.10.3-7

URL="https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh"
INSTALLER_PATH=/tmp/miniforge-installer.sh
URL="https://github.com/conda-forge/miniforge/releases/download/${MAMBAFORGE_VERSION}/Mambaforge-${MAMBAFORGE_VERSION}-Linux-x86_64.sh"
INSTALLER_PATH=/tmp/mambaforge-installer.sh

# make sure we don't do anything funky with user's $HOME
# since this is run as root
Expand Down Expand Up @@ -34,7 +34,7 @@ conda clean --all -f -y
# Remove the big installer so we don't increase docker image size too much
rm ${INSTALLER_PATH}

# Remove the pip cache created as part of installing miniconda
# Remove the pip cache created as part of installing mambaforge
rm -rf /root/.cache

chown -R $NB_USER:$NB_USER ${CONDA_DIR}
Expand Down

0 comments on commit b4362e0

Please sign in to comment.