-
Notifications
You must be signed in to change notification settings - Fork 38
/
Dockerfile
31 lines (26 loc) · 1.18 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
FROM debian:stretch
MAINTAINER Jose Espinosa-Carrasco <espinosacarrascoj@gmail.com>
RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && \
sed -i s/security.debian.org/archive.debian.org/g /etc/apt/sources.list && \
sed -i '/stretch-updates/d' /etc/apt/sources.list && \
apt-get update --fix-missing && \
apt-get install -q -y bc vim procps ghostscript unzip curl wget && \
apt-get install -q -y perl-modules libnet-ssleay-perl libcrypt-ssleay-perl libssl-dev libexpat1 libexpat1-dev liblwp-protocol-https-perl && \
apt-get install -q -y libgfortran3 libglib2.0-0 libgomp1 && \
apt-get clean
RUN mkdir -p /root
ENV HOME /root
WORKDIR /root
#
# Blast+
#
RUN curl -s ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-x64-linux.tar.gz | tar xz -C /opt &&\
ln -s /opt/ncbi-blast-2.2.28+ /opt/ncbi-blast
#
# Add T-Coffee
#
ADD tcoffee /opt/tcoffee
#
# Environment
#
ENV PATH=$PATH:/opt/ncbi-blast/bin:/opt/tcoffee/bin:/opt/tcoffee/plugins/linux/ TEMP=/tmp PERL5LIB=/opt/tcoffee/perl/lib/perl5 DIR_4_TCOFFEE=/opt/tcoffee EMAIL_4_TCOFFEE=tcoffee.msa@gmail.com CACHE_4_TCOFFEE=/tmp/cache/ LOCKDIR_4_TCOFFEE=/tmp/lck/ TMP_4_TCOFFEE=/tmp/