Skip to content

Commit

Permalink
try changing micromamba download link
Browse files Browse the repository at this point in the history
  • Loading branch information
hopedisastro committed Oct 31, 2024
1 parent 884c8a8 commit b55d99e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions images/trtools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ ENV MAMBA_ROOT_PREFIX /root/micromamba
ENV PATH $MAMBA_ROOT_PREFIX/bin:$PATH
ARG VERSION=${VERSION:-6.0.2}

RUN apt-get update && apt-get install -y git wget bash bzip2 zip && \
# Install necessary packages
RUN apt-get update && apt-get install -y git curl bash bzip2 zip && \
rm -r /var/lib/apt/lists/* && \
rm -r /var/cache/apt/* && \
wget -qO- https://api.anaconda.org/download/conda-forge/micromamba/0.8.2/linux-64/micromamba-0.8.2-he9b6cbd_0.tar.bz2 | tar -xvj -C /usr/local bin/micromamba && \
rm -r /var/cache/apt/*
RUN curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba && \
mkdir ${MAMBA_ROOT_PREFIX} && \
micromamba install -y --prefix ${MAMBA_ROOT_PREFIX} -c bioconda -c conda-forge \
trtools=${VERSION} && \
rm -r /root/micromamba/pkgs


0 comments on commit b55d99e

Please sign in to comment.