forked from cdiener/proliferation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (19 loc) · 859 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
FROM rocker/rstudio
MAINTAINER "Christian Diener <mail[at]cdiener.com>"
RUN apt-get update && apt-get install -y libxml2-dev python3 python3-pip wget && apt-get clean
RUN pip3 install -U pip
RUN pip install python-libsbml numpy scipy lxml cobra pandas && rm -rf /tmp/*
RUN mkdir /data && chown rstudio:rstudio /data
USER rstudio
RUN git clone https://github.com/cdiener/proliferation /data/proliferation
WORKDIR /data/proliferation
USER root
RUN Rscript -e "source('http://bioconductor.org/biocLite.R'); \
biocLite('BiocInstaller'); setRepositories(ind=1:2); \
install.packages(c('devtools', 'rmarkdown')); \
devtools::install_deps('prtools', dependencies=TRUE); \
devtools::install('prtools')"
USER rstudio
RUN wget https://zenodo.org/record/61980/files/regprob.csv && \
wget https://zenodo.org/record/61982/files/tcga.rds
USER root