-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
50 lines (37 loc) · 1.17 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
42
43
44
45
46
47
# Docker file for the Argonne Sequencing service
FROM ubuntu
LABEL MAINTAINER="[email protected]"
RUN apt-get update -y
RUN apt-get update -y --fix-missing
RUN apt install -y \
alien \
bowtie2 \
build-essential\
curl \
dh-autoreconf \
idba \
jove \
jq \
python3\
python3-setuptools \
python3-pip\
unzip \
wget
# download URL for the version 2.18 of the Illumina software
# http://support.illumina.com/content/dam/illumina-support/documents/downloads/software/bcl2fastq/bcl2fastq2-v2-18-0-12-linux-x86-64.zip
ADD https://support.illumina.com/content/dam/illumina-support/documents/downloads/software/bcl2fastq/bcl2fastq2-v2-19-1-linux.zip /root/bcl2fastq2.zip
RUN (cd /root ; unzip /root/bcl2fastq2*.zip )
RUN alien -i /root/bcl2fastq2-*.rpm
# install CWL runner
RUN pip3 install --upgrade pip && \
pip3 install cwlref-runner
# # copy local files to /usr/local/ (binaries and adapter files)
ADD bin/* /usr/local/bin/
ADD share/* /usr/local/share/
ADD . /anl-seq-service/
# install the service
RUN pip3 install pysftp
# set the entry point
ENTRYPOINT ["python3" , "/anl-seq-service/lib/python/SRA.py"]
# set the default command
CMD ["--help"]