forked from galaxy-genome-annotation/docker-jbrowse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (24 loc) · 1.26 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
# JBrowse
# VERSION 1.0
FROM nginx
ENV DEBIAN_FRONTEND noninteractive
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7
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 libpng-dev wget unzip perl-doc ca-certificates
# JBrowse releases are only minified on jbrowse.org
RUN wget -O jbrowse.zip https://github.com/GMOD/jbrowse/releases/download/1.12.5-release/JBrowse-1.12.5.zip && \
unzip jbrowse.zip && \
mv JBrowse-* jbrowse
WORKDIR /jbrowse/
RUN ./setup.sh && \
./bin/cpanm --notest --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 Bio::FeatureIO Bio::GFF3::LowLevel::Parser \
DBD::SQLite File::Copy::Recursive JSON::XS Parse::RecDescent local::lib Digest::Crc32 Bio::GFF3::LowLevel::Parser && \
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
RUN echo "include += data/datasets.conf" >> /jbrowse/jbrowse.conf
VOLUME /data
COPY docker-entrypoint.sh /
CMD ["/docker-entrypoint.sh"]