Skip to content

Commit e0913d1

Browse files
committed
update micromamba bootstrap in ci/ssh Dockerfile
it's not so easy to unpack micromamba package anymore but binaries are on GitHub Releases, which is easier!
1 parent a95eeb8 commit e0913d1

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)