Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update micromamba bootstrap in ci/ssh Dockerfile #860

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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