-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (28 loc) · 1.18 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
FROM opencpu/base
RUN apt-get -y update && \
apt-get -y install \
nginx \
libfontconfig1-dev \
libcairo2-dev \
libcurl4-openssl-dev \
pandoc \
apt-utils \
libtiff5-dev \
libfribidi-dev \
libharfbuzz-dev
RUN R -e 'install.packages(c("devtools", "R.utils", "config"), repo = "https://cran.rstudio.com/")'
RUN R -e 'install.packages("BiocManager"); BiocManager::install()'
RUN R -e 'BiocManager::install(c("ggplot2", "GEOquery", "genefilter","htmltools", \
"httpuv", "jsonlite", "limma", "edgeR", "assertthat", "methods", "httr", "rhdf5", \
"utils", "parallel", "stringr", "fgsea", "svglite", "gtable", "stats", \
"Matrix", "Matrix.utils", "pheatmap", "scales", "ccaPP", "grid", "grDevices", \
"AnnotationDbi", "apeglm", "DESeq2", "Rook"))' && \
R -e 'remove.packages("BH")'
RUN R -e 'BiocManager::install(c("testthat", "BiocStyle", "knitr", "rmarkdown", "data.table"))'
# install rhdf5client >= 1.25.1
RUN R -e 'BiocManager::install("vjcitn/rhdf5client")'
RUN R -e 'BiocManager::install("phantasusLite")'
RUN \
cd ~ && \
apt-get install -y --no-install-recommends \
gosu