-
Notifications
You must be signed in to change notification settings - Fork 125
/
Dockerfile
37 lines (26 loc) · 988 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM mambaorg/micromamba:1.5.8 AS app
ARG CHECKM2_VERSION="1.0.2"
USER root
WORKDIR /
LABEL base.image="mambaorg/micromamba:1.5.8"
LABEL dockerfile.version="1"
LABEL software="CHECKM2"
LABEL software.version="${CHECKM2_VERSION}"
LABEL description="Rapid assessment of genome bin quality using machine learning."
LABEL website="https://github.com/chklovski/CheckM2"
LABEL license="https://github.com/chklovski/CheckM2/blob/main/LICENSE"
LABEL maintainer="Kutluhan Incekara"
LABEL maintainer.email="[email protected]"
RUN apt-get update && apt-get install -y --no-install-recommends \
procps && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*
RUN micromamba install --name base -c conda-forge -c bioconda checkm2=${CHECKM2_VERSION} && \
micromamba clean -a -f -y
ENV PATH="/opt/conda/bin/:${PATH}" \
LC_ALL=C.UTF-8
CMD [ "checkm2", "--help" ]
WORKDIR /data
## Test ##
FROM app AS test
RUN checkm2 database --download &&\
checkm2 testrun --threads 4