-
Notifications
You must be signed in to change notification settings - Fork 68
/
Dockerfile
31 lines (23 loc) · 1.49 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 ubuntu:20.04
LABEL authors="Laise Florentino ([email protected]), Matthias Blum ([email protected])"
ARG VERSION
ENV TZ=Europe/London
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \
apt-get update -y && \
apt-get install -y wget python3.8 openjdk-11-jre-headless libpcre2-dev libgomp1 perl-doc libc6-i386 && \
ln -s /usr/bin/python3.8 /usr/bin/python3 && ln -s /usr/bin/python3.8 /usr/bin/python
WORKDIR /opt
RUN wget ftp://ftp.ebi.ac.uk/pub/software/unix/iprscan/5/${VERSION}/alt/interproscan-core-${VERSION}.tar.gz && \
wget ftp://ftp.ebi.ac.uk/pub/software/unix/iprscan/5/${VERSION}/alt/interproscan-core-${VERSION}.tar.gz.md5 && \
md5sum -c interproscan-core-${VERSION}.tar.gz.md5 && \
tar -zxf interproscan-core-${VERSION}.tar.gz && \
rm interproscan-core-${VERSION}.tar.gz* && \
mv /opt/interproscan-${VERSION} /opt/interproscan
WORKDIR /opt/interproscan
RUN echo "binary.phobius.pl.path=/opt/interproscan/licensed/phobius/phobius.pl" >> interproscan.properties && \
echo "binary.signalp.path=/opt/interproscan/licensed/signalp/signalp" >> interproscan.properties && \
echo "signalp.perl.library.dir=/opt/interproscan/licensed/signalp/lib" >> interproscan.properties && \
echo "binary.tmhmm.path=/opt/interproscan/licensed/tmhmm/decodeanhmm.Linux_x86_64" >> interproscan.properties && \
echo "tmhmm.model.path=/opt/interproscan/licensed/tmhmm/TMHMM2.0.model" >> interproscan.properties
ENTRYPOINT ["bash", "./interproscan.sh"]