Skip to content

Commit

Permalink
update micromamba bootstrap in ci/ssh Dockerfile
Browse files Browse the repository at this point in the history
it's not so easy to unpack micromamba package anymore

but binaries are on GitHub Releases, which is easier!
  • Loading branch information
minrk committed Jan 15, 2024
1 parent a95eeb8 commit e0913d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci/ssh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ RUN --mount=type=cache,target=/var/cache/apt \
ENV MAMBA_ROOT_PREFIX=/opt/conda
ENV PATH=$MAMBA_ROOT_PREFIX/bin:$PATH
ENV IPP_DISABLE_JS=1
RUN wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba \
&& mv bin/micromamba /usr/local/bin/micromamba
# x86_64 -> 64, aarch64 unmodified
RUN ARCH=$(uname -m | sed s@x86_@@) \
&& wget -qO- https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-${ARCH} > /usr/local/bin/micromamba \
&& chmod +x /usr/local/bin/micromamba

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

0 comments on commit e0913d1

Please sign in to comment.