-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcwl-submitter.dockerfile
More file actions
62 lines (47 loc) · 1.25 KB
/
cwl-submitter.dockerfile
File metadata and controls
62 lines (47 loc) · 1.25 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
53
54
55
56
57
58
59
FROM ubuntu:latest
LABEL maintainer="Andreas Wilke <wilke@mcs.anl.gov"
# Tested with ubuntu:16.04
RUN apt-get update && apt-get install -y \
curl \
g++ \
git \
libexpat1-dev \
libjson-perl \
libjson-xs-perl \
libwww-perl \
libxml-simple-perl \
make \
perl \
python \
python-pip \
unzip \
wget \
zlib1g-dev
WORKDIR /Downloads
# cwl
RUN pip install cwlref-runner
# bowtie
RUN wget --content-disposition http://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.2.5/bowtie2-2.2.5-linux-x86_64.zip/download && \
unzip bowtie2-2.2.5-linux-x86_64.zip && \
cp bowtie2-2.2.5/bowtie2* /usr/local/bin
# node.js version 7
RUN curl -sL https://deb.nodesource.com/setup_7.x | bash - ; \
apt-get install -y nodejs
# skewer
RUN git clone https://github.com/wltrimbl/skewer && \
cd skewer && \
make && \
make install
WORKDIR /usr/src
# autoskewer
RUN git clone http://github.com/MG-RAST/autoskewer && \
cd autoskewer && \
make
ENV PATH /usr/src/autoskewer/:$PATH
# submission scripts
COPY . ebi-submitter
RUN chmod a+x ebi-submitter/scripts/* && \
mkdir -p /usr/local/lib/site_perl && \
cp -r /usr/src/ebi-submitter/scripts/lib/Submitter /usr/local/lib/site_perl/.
ENV PATH /usr/src/ebi-submitter/scripts:$PATH
CMD ["cwltool"]