-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM mambaorg/micromamba | ||
LABEL org.opencontainers.image.source=https://github.com/metagenlab/zAMP | ||
LABEL org.opencontainers.image.description="Snakemake pipeline for convenient amplicon metagenomics anlysis" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
ENV LANG=C.UTF-8 | ||
ENV SHELL=/bin/bash | ||
|
||
USER root | ||
ENV APT_PKGS="procps ca-certificates" | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends ${APT_PKGS} \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log | ||
USER $MAMBA_USER | ||
|
||
COPY --chown=$MAMBA_USER:$MAMBA_USER . /pkg | ||
RUN micromamba config set extract_threads 1 && \ | ||
micromamba install -n base -y -f /pkg/env.yaml && \ | ||
micromamba clean -afy | ||
ARG MAMBA_DOCKERFILE_ACTIVATE=1 | ||
RUN pip install /pkg --no-deps --no-build-isolation --no-cache-dir -vvv | ||
ENV PATH="/opt/conda/bin:$PATH" XDG_CACHE_HOME=/tmp |