Skip to content

Commit

Permalink
Don't hardcode CPU architecture in dockerfile
Browse files Browse the repository at this point in the history
The version of mambaforge appropriate for the architecture that
the docker build is running on is built this way.

Ref #396
  • Loading branch information
yuvipanda committed Oct 19, 2022
1 parent c2cc3ca commit 665c1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 665c1f8

Please sign in to comment.