From 665c1f8ac0b4a1e148bc4cd0c74975cf051ffac0 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Tue, 18 Oct 2022 19:58:11 -0700 Subject: [PATCH] Don't hardcode CPU architecture in dockerfile The version of mambaforge appropriate for the architecture that the docker build is running on is built this way. Ref https://github.com/pangeo-data/pangeo-docker-images/issues/396 --- base-image/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-image/Dockerfile b/base-image/Dockerfile index 3c8fb9eb..227528d0 100644 --- a/base-image/Dockerfile +++ b/base-image/Dockerfile @@ -43,7 +43,7 @@ USER ${NB_USER} WORKDIR ${HOME} RUN echo "Installing Mambaforge..." \ - && URL="https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh" \ + && URL="https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-$(uname -m).sh" \ && wget --quiet ${URL} -O installer.sh \ && /bin/bash installer.sh -u -b -p ${CONDA_DIR} \ && rm installer.sh \