-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathDockerfile
26 lines (21 loc) · 931 Bytes
/
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
# JBrowse
# VERSION 1.0
FROM nginx
MAINTAINER Eric Rasche <esr@tamu.edu>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update --fix-missing
RUN apt-get --no-install-recommends -y install git build-essential zlib1g-dev libxml2-dev libexpat-dev postgresql-client libpq-dev
RUN mkdir -p /jbrowse/ && git clone --recursive https://github.com/gmod/jbrowse /jbrowse/ && \
cd /jbrowse/ && \
git checkout 1.11.6-release
WORKDIR /jbrowse/
RUN ./setup.sh && \
./bin/cpanm --no-test --force JSON Digest::CRC32 Hash::Merge PerlIO::gzip Devel::Size \
Heap::Simple Heap::Simple::XS List::MoreUtils Exception::Class Test::Warn Bio::Perl \
Bio::DB::SeqFeature::Store File::Next Bio::DB::Das::Chado && \
rm -rf /root/.cpan/
RUN perl Makefile.PL && make && make install
RUN rm -rf /usr/share/nginx/html && ln -s /jbrowse/ /usr/share/nginx/html
VOLUME /data
COPY docker-entrypoint.sh /
CMD ["/docker-entrypoint.sh"]