Skip to content

Commit

Permalink
fix: add missing TARGETARCH definition
Browse files Browse the repository at this point in the history
  • Loading branch information
lsorber authored Sep 12, 2023
1 parent 47c0ff8 commit b216221
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Install Miniconda.
ARG TARGETARCH
RUN CONDA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "x86_64") && \
wget --quiet "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-$CONDA_ARCH.sh" --output-document ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
Expand Down

0 comments on commit b216221

Please sign in to comment.