Skip to content

Commit aa9f9b5

Browse files
authored
Merge pull request #860 from minrk/ssh-micromamba
update micromamba bootstrap in ci/ssh Dockerfile
2 parents a95eeb8 + e0913d1 commit aa9f9b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/ssh/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ RUN --mount=type=cache,target=/var/cache/apt \
88
ENV MAMBA_ROOT_PREFIX=/opt/conda
99
ENV PATH=$MAMBA_ROOT_PREFIX/bin:$PATH
1010
ENV IPP_DISABLE_JS=1
11-
RUN wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba \
12-
&& mv bin/micromamba /usr/local/bin/micromamba
11+
# x86_64 -> 64, aarch64 unmodified
12+
RUN ARCH=$(uname -m | sed s@x86_@@) \
13+
&& wget -qO- https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-${ARCH} > /usr/local/bin/micromamba \
14+
&& chmod +x /usr/local/bin/micromamba
1315

1416
RUN --mount=type=cache,target=${MAMBA_ROOT_PREFIX}/pkgs \
1517
micromamba install -y -p $MAMBA_ROOT_PREFIX -c conda-forge \

0 commit comments

Comments
 (0)