forked from akotlar/mpd-perl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
57 lines (45 loc) · 1.5 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
49
50
51
52
53
54
55
56
57
# Based on Jeremiah H. Savage <[email protected]> 's kent image
FROM fedora:28
MAINTAINER Alex Kotlar <[email protected]>
ENV PATH="/root/mpd-perl/bin:${PATH}" \
PERL5LIB="/root/perl5/lib/perl5:/root/mpd-perl/lib:${PERL5LIB}"
WORKDIR /root
RUN dnf install -y \
gcc \
gcc-c++ \
libpng-devel \
libuuid-devel \
make \
mariadb-devel \
patch \
perl \
rsync \
unzip \
wget \
which \
git \
openssh-clients
RUN wget http://hgdownload.cse.ucsc.edu/admin/jksrc.v371.zip \
&& unzip -q jksrc.v371.zip \
&& rm jksrc.v371.zip
RUN mkdir -p bin/x86_64 \
&& export MACHTYPE=x86_64 \
&& cd kent/src/ && make libs \
&& cd lib/ && make \
&& cd ../jkOwnLib/ && make \
&& cd ../isPcr/ && make \
&& cd /root && rm -rf kent
WORKDIR /root
RUN git clone https://bitbucket.org/wingolab/mpd-dat \
&& mkdir /root/2bit && cd $_ \
&& wget http://hgdownload.cse.ucsc.edu/goldenPath/hg38/bigZips/hg38.2bit \
&& cd /root
RUN git clone https://github.com/wingolab-org/mpd-c /root/mpd-c \
&& cd /root/mpd-c && make
RUN curl -L https://cpanmin.us | perl - App::cpanminus \
&& mkdir -p /root/perl5/lib/perl \
&& cpanm --local-lib=/root/perl5 local::lib && eval $(perl -I /root/perl5/lib/perl5 -Mlocal::lib)
RUN git clone https://github.com/akotlar/mpd-perl /root/mpd-perl \
&& cd /root/mpd-perl && cpanm MPD.tar.gz \
&& cpanm Cpanel::JSON::XS && cpanm DDP && cpanm Log::Fast && cpanm Beanstalk::Client
WORKDIR /root/mpd-perl/