Skip to content

Commit

Permalink
download conda-forge's conda installer that is configured to only use…
Browse files Browse the repository at this point in the history
… the conda-forge channel to avoid licensing issues with Anaconda -- using an explicit version instead of 'latest' for reproducibility and so we can easily track which version was used
  • Loading branch information
georgemccabe committed Nov 1, 2023
1 parent c5e910d commit 1c9c405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scripts/docker_env/Dockerfile.conda
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ ARG DEBIAN_VERSION=12
FROM debian:${DEBIAN_VERSION}-slim

RUN apt update && apt install -y curl \
&& curl https://repo.anaconda.com/miniconda/Miniconda3-py311_23.5.2-0-Linux-x86_64.sh > /miniconda.sh \
&& bash /miniconda.sh -b -p /usr/local/conda \
&& curl -L https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-23.3.1-1-$(uname)-$(uname -m).sh -o /miniforge.sh \
&& bash /miniforge.sh -b -p /usr/local/conda \
&& /usr/local/conda/bin/conda update -y -n base -c conda-forge conda

0 comments on commit 1c9c405

Please sign in to comment.