-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
48 lines (33 loc) · 1.54 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
44
45
46
47
48
FROM biocorecrg/debian-perlbrew:buster
# File Author / Maintainer
MAINTAINER Toni Hermoso Pulido <[email protected]>
RUN set -x ; apt-get update && apt-get -y upgrade
# Specific of FA pipeline
RUN apt-get install -y r-base sqlite mariadb-client default-libmysqlclient-dev
RUN apt-get install -y texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
RUN apt-get install -y libxml2-dev libexpat1-dev libdb-dev libgd-dev
# Perl packages
RUN cpanm Config::Simple Config::JSON DBI DBD::mysql DBD::SQLite Digest::SHA File::Basename Getopt::Long IO::Handle JSON Lingua::EN::Ngram List::Util Scalar::Util String::Util Array::Split
ARG BIOPERL_VERSION=1.7.5
# https://stackoverflow.com/questions/47966512/error-installing-xmldomxpath
RUN cpanm --force XML::DOM::XPath
RUN cpanm CDRAUG/BioPerl-${BIOPERL_VERSION}.tar.gz
RUN cpanm Bio::SearchIO::blastxml
RUN apt-get install -y libssl-dev
RUN cpanm IO::Socket::SSL LWP::Simple LWP::Protocol::https LWP::UserAgent Text::Trim
# Install GFFread
RUN apt-get install -y git
ARG GCLIB_VERSION=v0.11.2
ARG GFFREAD_VERSION=v0.11.4
RUN git clone https://github.com/gpertea/gclib; cd gclib && git checkout ${GCLIB_VERSION}
RUN git clone https://github.com/gpertea/gffread; cd gffread && git checkout ${GFFREAD_VERSION}
RUN cd gffread; make release; mv gffread /usr/local/bin
RUN rm -rf gclib; rm -rf gffread
# Clean cache
RUN apt-get clean
RUN set -x; rm -rf /var/lib/apt/lists/*
# Place /scripts
# RUN mkdir -p /scripts
# ENV PATH /scripts:$PATH
# COPY scripts/ /scripts/
# RUN chmod -R a+rx /scripts/*