-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
53 lines (33 loc) · 1.9 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
FROM andrewosh/binder-base
MAINTAINER [email protected]
USER root
RUN apt-get update
RUN apt-get install -y aptitude
RUN echo 'deb http://deb.debian.org/debian jessie-backports main contrib non-free' >> /etc/apt/sources.list
RUN echo 'deb http://deb.debian.org/debian jessie-backports-sloppy main contrib non-free' >> /etc/apt/sources.list
RUN aptitude update
RUN apt-get install -y -t jessie-backports r-base r-base-dev
RUN apt-get update
RUN apt-get install -y libcurl4-openssl-dev libssl-dev
RUN apt-get install -y software-properties-common
RUN apt-get install -y build-essential ruby ruby-dev libcurl4-openssl-dev libssl-dev libzmq3 libzmq3-dev libtool autoconf automake && apt-get clean
RUN ln -s /usr/bin/libtoolize /usr/bin/libtool # See https://github.com/zeromq/libzmq/issues/1385
# RUN echo 'install.packages(c("repr", "IRdisplay", "evaluate", "crayon", "pbdZMQ", "devtools", "uuid", "digest", "dplyr","ggplot2","gapminder"),repos="http://cran.r-project.org" )' | R --no-save
RUN echo 'install.packages(c("devtools", "uuid", "digest", "dplyr","ggplot2","gapminder"),repos="http://cran.r-project.org" )' | R --no-save
RUN echo 'devtools::install_github("IRkernel/IRkernel")' | R --no-save
RUN echo 'IRkernel::installspec()' | R --no-save
# Add IRuby dependencies
RUN gem update --no-document --system && gem install --no-document iruby rbczmq pry bio xml-simple gene_ontology
RUN gem install --no-document rdf -v 2.0.2
RUN gem install --no-document rdf-raptor -v 2.0.0
RUN gem install --no-document sparql-client -v 2.0.2
RUN gem install --no-document ebnf -v 1.0.0
RUN gem install --no-document rdf-aggregate-repo -v 2.0.0
RUN gem install --no-document -f sparql -v 2.0.0.beta1
RUN apt-get install -y ncbi-blast+ ncbi-blast+-legacy blast2 libxml2
RUN apt-get install -y clustalw
USER main
RUN pip install sparqlkernel
RUN jupyter sparqlkernel install --user
RUN iruby register
COPY --chown=main . /home/main