Skip to content

Commit b216221

Browse files
authored
fix: add missing TARGETARCH definition
1 parent 47c0ff8 commit b216221

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUN apt-get update && \
99
rm -rf /var/lib/apt/lists/*
1010

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

0 commit comments

Comments
 (0)