Skip to content

Commit

Permalink
move to miniforge
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Jan 9, 2025
1 parent 3ada012 commit 7cba7b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ RUN mkdir -p ${JULIA_DIR} && chown ${NB_USER}:${NB_USER} ${JULIA_DIR}

WORKDIR /home/jovyan

COPY install-mambaforge.bash /tmp/install-mambaforge.bash
RUN /tmp/install-mambaforge.bash
COPY install-miniforge.bash /tmp/install-miniforge.bash
RUN /tmp/install-miniforge.bash

USER ${NB_USER}

Expand Down
10 changes: 3 additions & 7 deletions install-mambaforge.bash → install-miniforge.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
set -ex

cd $(dirname $0)
MAMBAFORGE_VERSION='24.3.0-0'
MINIFORGE_VERSION='24.11.2-1'

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
unset HOME
URL="https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh"
INSTALLER_PATH=/tmp/miniforge-installer.sh

wget --quiet $URL -O ${INSTALLER_PATH}
chmod +x ${INSTALLER_PATH}
Expand Down

0 comments on commit 7cba7b9

Please sign in to comment.