Skip to content

Commit

Permalink
Update Dockerfile fix mambaforge
Browse files Browse the repository at this point in the history
  • Loading branch information
seunAdeks authored Jan 7, 2025
1 parent 9d47d97 commit 6ace429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENV PATH="${CONDA_DIR}/bin:${PATH}"
# HOME="/home/${NB_USER}" \
# CONDA_VERSION="${conda_version}"

RUN export download_url=$(curl -s https://api.github.com/repos/conda-forge/miniforge/releases/latest | grep browser_download_url | grep -P "Mambaforge-\d+((\.|-)\d+)*-Linux-x86_64.sh" | grep -v sha256 | cut -d '"' -f 4) && \
RUN export download_url=$(curl -s https://api.github.com/repos/conda-forge/miniforge/releases/latest | grep browser_download_url | grep -P "Miniforge3-\d+((\.|-)\d+)*-Linux-x86_64.sh" | grep -v sha256 | cut -d '"' -f 4) && \
echo "Downloading latest miniforge from $download_url" && \
curl -Lf -o miniforge.sh $download_url && \
/bin/bash "miniforge.sh" -f -b -p "${CONDA_DIR}" && \
Expand Down

0 comments on commit 6ace429

Please sign in to comment.