1
- FROM ubuntu:wily
1
+ FROM ubuntu:16.04
2
2
MAINTAINER Tiago Antao <tra@popgen.net>
3
3
4
4
ENV DEBIAN_FRONTEND noninteractive
5
5
# We need this for phylip
6
- RUN echo 'deb http://archive.ubuntu.com/ubuntu wily multiverse' >> /etc/apt/sources.list \
7
- && apt-get update \
8
- && apt-get upgrade -y --force-yes \
9
- && apt-get install -y --force-yes \
10
- build-essential \
11
- git \
12
- python3-numpy \
13
- wget \
14
- gcc \
15
- g++ \
16
- python3-dev \
17
- unzip \
18
- make \
19
- python3-matplotlib \
20
- python3-reportlab \
6
+ RUN echo 'deb http://archive.ubuntu.com/ubuntu xenial multiverse' >> /etc/apt/sources.list \
7
+ && apt-get update \
8
+ && apt-get upgrade -y --force-yes \
9
+ && apt-get install -y --force-yes \
10
+ build-essential \
11
+ git \
12
+ python3-numpy \
13
+ wget \
14
+ gcc \
15
+ g++ \
16
+ python3-dev \
17
+ unzip \
18
+ make \
19
+ python3-matplotlib \
20
+ python3-reportlab \
21
21
python3-pip r-base \
22
- clustalw \
23
- fasttree \
22
+ clustalw \
23
+ fasttree \
24
24
t-coffee python3-pil \
25
25
bwa \
26
26
ncbi-blast+ \
27
27
emboss \
28
28
clustalo \
29
- phylip \
30
- mafft \
29
+ phylip \
30
+ mafft \
31
31
muscle \
32
- samtools \
33
- phyml \
34
- wise \
35
- raxml \
32
+ samtools \
33
+ phyml \
34
+ wise \
35
+ raxml \
36
36
language-pack-en \
37
- paml \
38
- probcons \
39
- python3-pandas \
40
- python3.5-dev \
37
+ paml \
38
+ probcons \
39
+ python3-pandas \
40
+ python3.5-dev \
41
41
libxft-dev \
42
42
&& apt-get clean
43
43
@@ -58,7 +58,7 @@ RUN wget http://www.reportlab.com/ftp/fonts/pfbfer.zip
58
58
WORKDIR cd /usr/lib/python3.4/dist-packages/reportlab
59
59
RUN mkdir fonts
60
60
WORKDIR cd /usr/lib/python3.4/dist-packages/reportlab/fonts
61
- RUN unzip /pfbfer.zip \
61
+ RUN unzip /pfbfer.zip \
62
62
&& mkdir -p /usr/lib/python3.5/dist-packages/reportlab/fonts
63
63
WORKDIR /usr/lib/python3.5/dist-packages/reportlab/fonts
64
64
RUN unzip /pfbfer.zip
@@ -69,8 +69,8 @@ RUN rm pfbfer.zip
69
69
RUN mkdir genepop
70
70
WORKDIR /genepop
71
71
RUN wget http://kimura.univ-montp2.fr/~rousset/sources.tar.gz \
72
- && tar zxf sources.tar.gz \
73
- && g++ -DNO_MODULES -o Genepop GenepopS.cpp -O3 \
72
+ && tar zxf sources.tar.gz \
73
+ && g++ -DNO_MODULES -o Genepop GenepopS.cpp -O3 \
74
74
&& cp Genepop /usr/bin
75
75
WORKDIR /
76
76
RUN rm -rf genepop
@@ -84,7 +84,7 @@ RUN wget http://www.maths.bris.ac.uk/~mamab/software/fdist2.zip \
84
84
&& gcc -o cplot -O cplot.c as100.c as99.c -lm \
85
85
&& gcc -o pv -O pv.c as100.c as99.c -lm \
86
86
&& gcc -o datacal -O datacal.c -lm \
87
- && cp datacal pv cplot fdist2 /usr/bin
87
+ && cp datacal pv cplot fdist2 /usr/bin
88
88
WORKDIR /
89
89
RUN rm -rf fdist2
90
90
@@ -97,7 +97,7 @@ RUN gcc -O -o Ddatacal Ddatacal.c -lm \
97
97
&& gcc -O -o Dfdist Dfdist.c -lm \
98
98
&& gcc -O -o pv2 pv2.c -lm \
99
99
&& gcc -O -o cplot2 cplot2.c -lm \
100
- && cp pv2 Dfdist Ddatacal cplot2 /usr/bin
100
+ && cp pv2 Dfdist Ddatacal cplot2 /usr/bin
101
101
WORKDIR /
102
102
RUN rm -rf Dfdist_a*
103
103
@@ -125,7 +125,7 @@ RUN wget ftp://ftp.cmbi.ru.nl/pub/software/dssp/dssp-2.0.4-linux-amd64 \
125
125
WORKDIR /usr/local/bin
126
126
RUN wget "http://xxmotif.genzentrum.lmu.de/index.php?id=download&version=64" -O xx.tar.gz \
127
127
&& tar zxf xx.tar.gz \
128
- && rm xx.tar.gz
128
+ && rm xx.tar.gz
129
129
WORKDIR /
130
130
ENV PYTHON_PATH /biopython
131
131
@@ -136,5 +136,4 @@ RUN python3.5 setup.py install
136
136
137
137
# set default python version to 3.5
138
138
RUN touch ~/.bash_aliases \
139
- && echo alias python=\' python3.5\' > ~/.bash_aliases
140
-
139
+ && echo alias python=\' python3.5\' > ~/.bash_aliases
0 commit comments