Skip to content

Commit

Permalink
Merge pull request #860 from minrk/ssh-micromamba
Browse files Browse the repository at this point in the history
update micromamba bootstrap in ci/ssh Dockerfile
  • Loading branch information
minrk authored Jan 15, 2024
2 parents a95eeb8 + e0913d1 commit aa9f9b5
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 aa9f9b5

Please sign in to comment.