Skip to content

Instantly share code, notes, and snippets.

@partrita
Created September 21, 2024 08:29
Show Gist options
  • Save partrita/a411644dd73e4381d0c7f450348d9295 to your computer and use it in GitHub Desktop.
Save partrita/a411644dd73e4381d0c7f450348d9295 to your computer and use it in GitHub Desktop.
Mamba docker
# https://micromamba-docker.readthedocs.io/en/latest/quick_start.html#running-commands-in-dockerfile-within-the-conda-environment
FROM mambaorg/micromamba:1.5.1
# RUN mkdir /home/mambauser/eggnog
COPY --chown=$MAMBA_USER:$MAMBA_USER environments.yml /tmp/env.yml
# to activate the conda environment
ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN micromamba install -y --file env.yml && \
micromamba clean --all --yes
channels:
- conda-forge
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=2_gnu
- biopython=1.81=py39hd1e30aa_1
- bzip2=1.0.8=h7f98852_4
- ca-certificates=2023.7.22=hbcca054_0
- ld_impl_linux-64=2.40=h41732ed_0
- libblas=3.9.0=19_linux64_openblas
- libcblas=3.9.0=19_linux64_openblas
- libffi=3.4.2=h7f98852_5
- libgcc-ng=13.2.0=h807b86a_2
- libgfortran-ng=13.2.0=h69a702a_2
- libgfortran5=13.2.0=ha4646dd_2
- libgomp=13.2.0=h807b86a_2
- liblapack=3.9.0=19_linux64_openblas
- libnsl=2.0.1=hd590300_0
- libopenblas=0.3.24=pthreads_h413a1c8_0
- libsqlite=3.43.2=h2797004_0
- libstdcxx-ng=13.2.0=h7e041cc_2
- libuuid=2.38.1=h0b41bf4_0
- libzlib=1.2.13=hd590300_5
- ncurses=6.4=hcb278e6_0
- numpy=1.26.0=py39h474f0d3_0
- openssl=3.1.3=hd590300_0
- pip=23.3=pyhd8ed1ab_0
- python=3.9.18=h0755675_0_cpython
- python_abi=3.9=4_cp39
- readline=8.2=h8228510_1
- setuptools=68.2.2=pyhd8ed1ab_0
- tk=8.6.13=h2797004_0
- tzdata=2023c=h71feb2d_0
- wheel=0.41.2=pyhd8ed1ab_0
- xz=5.2.6=h166bdaf_0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment