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 5f3ee72 commit 1c576c6
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 @@ -64,7 +64,7 @@ WORKDIR ${HOME}

# Install latest mambaforge in ${CONDA_DIR}
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 1c576c6

Please sign in to comment.