-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile.base
42 lines (37 loc) · 1.94 KB
/
Dockerfile.base
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
FROM opencpu/rstudio:2.1.7
RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev
# https://askubuntu.com/questions/921207/installing-package-containing-glib-h
RUN dpkg -r --force-all libglib2.0-0 && \
apt install -f -y && \
apt install libglib2.0-0 -y && \
apt install libglib2.0-dev -y
RUN apt-get install libcairo2-dev libxt-dev -y
RUN R -e 'install.packages("XML");'
RUN R -e 'install.packages("plotly");'
RUN R -e 'install.packages("BiocManager"); BiocManager::install(version = "3.9", ask = FALSE)'
RUN R -e 'BiocManager::install("genefilter", version = "3.9")'
RUN R -e 'BiocManager::install("GlobalAncova", version = "3.9")'
RUN R -e 'BiocManager::install("impute", version = "3.9")'
RUN R -e 'BiocManager::install("KEGGgraph", version = "3.9")'
RUN R -e 'BiocManager::install("limma", version = "3.9")'
RUN R -e 'BiocManager::install("pcaMethods", version = "3.9")'
RUN R -e 'BiocManager::install("preprocessCore", version = "3.9")'
RUN R -e 'BiocManager::install("Rgraphviz", version = "3.9")'
RUN R -e 'BiocManager::install("siggenes", version = "3.9")'
RUN R -e 'BiocManager::install("SSPA", version = "3.9")'
RUN R -e 'BiocManager::install("sva", version = "3.9")'
RUN R -e 'install.packages("devtools");'
RUN R -e 'install.packages("roxygen2")'
RUN R -e 'BiocManager::install("impute", version = "3.9")'
RUN R -e 'install.packages("missForest")'
RUN R -e 'install.packages("https://cran.r-project.org/src/contrib/Archive/mnormt/mnormt_1.5-6.tar.gz", repos=NULL, type="source")'
RUN R -e 'require(devtools); install_version("mnormt", version = "1.5-6")'
RUN R -e 'install.packages("psych")'
RUN R -e 'install.packages("pROC")'
RUN R -e 'BiocManager::install("mixOmics", version = "3.9")'
RUN R -e 'BiocManager::install("ropls", version = "3.9")'
ADD viime /viime
RUN R -e 'setwd("/viime"); devtools::update_packages(devtools::dev_package_deps()$package, dependencies=NA, upgrade="never");' && rm -fr /viime