forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
42 lines (28 loc) · 1.13 KB
/
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
38
39
40
41
FROM mambaorg/micromamba:1.5.8 as app
ARG GUBBINS_VER="3.3.4"
USER root
WORKDIR /
LABEL base.image="mambaorg/micromamba:1.5.8"
LABEL dockerfile.version="1"
LABEL software="Gubbins"
LABEL software.version="${GUBBINS_VER}"
LABEL description="Genealogies Unbiased By recomBinations In Nucleotide Sequences"
LABEL website="https://github.com/nickjcroucher/gubbins"
LABEL license="https://github.com/nickjcroucher/gubbins/blob/master/LICENSE"
LABEL maintainer="Kutluhan Incekara"
LABEL maintainer.email="[email protected]"
RUN apt-get update && apt-get install --no-install-recommends -y \
procps &&\
apt-get autoclean && rm -rf /var/lib/apt/lists/*
RUN micromamba install --name base -c conda-forge -c bioconda gubbins=${GUBBINS_VER} && \
micromamba clean -a -y && \
mkdir /data
ENV PATH="/opt/conda/bin/:${PATH}" \
LC_ALL=C.UTF-8
CMD ["run_gubbins.py", "-h"]
WORKDIR /data
FROM app as test
RUN run_gubbins.py -h
WORKDIR /test
RUN curl -LJO https://github.com/nickjcroucher/gubbins/raw/master/tests/data/alignment_file_multiple_lines_per_sequence.aln &&\
run_gubbins.py alignment_file_multiple_lines_per_sequence.aln