forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
53 lines (39 loc) · 1.65 KB
/
Dockerfile
File metadata and controls
53 lines (39 loc) · 1.65 KB
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
42
43
44
45
46
47
48
49
50
51
52
FROM ubuntu:jammy AS app
ARG CBIRD_UTIL_VER="2.0"
ARG DATASETS_VER="v16.40.1"
LABEL base.image="ubuntu:jammy"
LABEL dockerfile.version="1"
LABEL software="C-BIRD"
LABEL software.version=${CBIRD_UTIL_VER}
LABEL description="C-BIRD utility tool"
LABEL website="https://github.com/Kincekara/C-BIRD"
LABEL license="https://github.com/Kincekara/C-BIRD/blob/main/LICENSE"
LABEL maintainer="Kutluhan Incekara"
LABEL maintainer.email="kutluhan.incekara@ct.gov"
ARG DEBIAN_FRONTEND="noninteractive"
RUN apt-get update && apt-get install --no-install-recommends -y \
wget \
ca-certificates \
unzip \
jq \
python3-pandas \
python3-lxml \
python3-docx \
python-argparse \
python3-numpy &&\
apt-get autoclean && rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/ncbi/datasets/releases/download/${DATASETS_VER}/linux-amd64.cli.package.zip &&\
unzip linux-amd64.cli.package.zip && rm linux-amd64.cli.package.zip &&\
mv datasets dataformat /usr/local/bin/
RUN wget https://ftp.ncbi.nlm.nih.gov/genomes/ASSEMBLY_REPORTS/species_genome_size.txt.gz &&\
gunzip species_genome_size.txt.gz &&\
date +%Y-%m-%d > sgs_download_date.txt &&\
mv species_genome_size.txt sgs_download_date.txt /usr/local/lib/
COPY html_report.py est_coverage.py qc_report.py plain_report.py /usr/local/bin/
ENV LC_ALL=C
CMD ["echo", "This image is part of the C-BIRD pipeline (https://github.com/Kincekara/C-BIRD) and is not intended to be used separately.\n\
The available tools are html_report.py, est_coverage.py, qc_report.py, plain_report.py, datasets, and dataformat."]
WORKDIR /data
FROM app AS test
COPY test/ /test/
RUN cd /test && ./test.sh