From 1321f249a435e1cb2eac368a8bb9a120d4a5f7af Mon Sep 17 00:00:00 2001 From: Patrick Hoefler Date: Fri, 19 Aug 2022 00:30:27 +0200 Subject: [PATCH 1/2] Switch to mambaforge --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 650ba14271092..1b652808901f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/condaforge/miniforge3 +FROM quay.io/condaforge/mambaforge # if you forked pandas, you can pass in your own GitHub username to use your fork # i.e. gh_username=myname @@ -40,13 +40,12 @@ RUN mkdir "$pandas_home" \ # we just update the base/root one from the 'environment.yml' file instead of creating a new one. # # Set up environment -RUN conda install -y mamba RUN mamba env update -n base -f "$pandas_home/environment.yml" # Build C extensions and pandas SHELL ["/bin/bash", "-c"] -RUN . /opt/conda/etc/profile.d/conda.sh \ - && conda activate base \ +RUN . /opt/conda/etc/profile.d/mamba.sh \ + && mamba activate base \ && cd "$pandas_home" \ && export \ && python setup.py build_ext -j 4 \ From c5f9f573d36fd2e4987c426eb9ef3bae7c77b237 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler Date: Fri, 19 Aug 2022 00:48:10 +0200 Subject: [PATCH 2/2] Switch to mambaforge --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b652808901f3..0bfb0e15d63fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,8 +44,8 @@ RUN mamba env update -n base -f "$pandas_home/environment.yml" # Build C extensions and pandas SHELL ["/bin/bash", "-c"] -RUN . /opt/conda/etc/profile.d/mamba.sh \ - && mamba activate base \ +RUN . /opt/conda/etc/profile.d/conda.sh \ + && conda activate base \ && cd "$pandas_home" \ && export \ && python setup.py build_ext -j 4 \