Skip to content

Commit

Permalink
Use a similar download URL to those micromamba itself uses (#120)
Browse files Browse the repository at this point in the history
The initial download of micromamba*.tar.bz2 from api.anaconda.org
has recently begun failing when run under docker, presumably due
to network setup changes elsewhere.

Instead use the same hostname and URL style as micromamba itself
uses when downloading and installing other packages, which does
still work when run from inside docker.
  • Loading branch information
jmarshall authored Nov 19, 2023
1 parent dd256fd commit 37f05f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/samtools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG VERSION=${VERSION:-1.18}
RUN apt-get update && apt-get install -y git wget 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 && \
wget -qO- https://conda.anaconda.org/conda-forge/linux-64/micromamba-0.8.2-he9b6cbd_0.tar.bz2 | tar -xvj -C /usr/local bin/micromamba && \
mkdir ${MAMBA_ROOT_PREFIX} && \
micromamba install -y --prefix ${MAMBA_ROOT_PREFIX} -c bioconda -c conda-forge \
samtools=${VERSION} google-cloud-sdk dill && \
Expand Down

0 comments on commit 37f05f8

Please sign in to comment.