-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerfile
44 lines (32 loc) · 1.3 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
############################################################
# Dockerfile to build Kissplice galaxy tool container image
# Based on debian wheezy
############################################################
# Set the base image to debian wheezy
FROM debian:wheezy
# Set noninterative mode
ENV DEBIAN_FRONTEND noninteractive
ENV PACKAGES wget make cmake gcc g++ zlib1g-dev python
ENV TAR ftp://pbil.univ-lyon1.fr/pub/logiciel/kissplice/download/kissplice-2.2.1.tar.gz
ENV SOURCE kissplice-2.2.1
ENV DIR /opt
################## DEPENDENCIES INSTALLATION ######################
RUN apt-get update -y
RUN apt-get install -y ${PACKAGES}
################## KISSPLICE INSTALLATION ######################
WORKDIR ${DIR}
RUN wget ${TAR} -O - | tar xvzf -
RUN mkdir ${DIR}/${SOURCE}/build
WORKDIR ${DIR}/${SOURCE}/build
RUN cmake ..
RUN make
RUN make install
#ENTRYPOINT ["kissplice"]
#CMD ["--help"]
ADD kisspliceGWrapper.py /usr/local/bin/kisspliceGWrapper.py
RUN chmod 755 /usr/local/bin/kisspliceGWrapper.py
##################### Maintainer #####################
MAINTAINER Monjeaud Cyril <Cyril.Monjeaud@irisa.fr>
#################### Example ########################
# docker run -it --rm cmonjeau/kissplice
# docker run -it --rm -v /home/user/Kissplice:/data cmonjeau/kissplice -r /data/reads1.fa -r /data/reads2.fa -o /data