forked from bioFAM/MOFA2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (18 loc) · 985 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM r-base:4.0.2
WORKDIR /mofa2
ADD . /mofa2
RUN apt-get update && apt-get install -f && apt-get install -y python3 python3-setuptools python3-dev
RUN apt-get install -y libcurl4-openssl-dev
RUN apt-get install -y libcairo2-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libxt-dev libharfbuzz-dev libfribidi-dev
RUN python3 setup.py install
# Install bioconductor dependencies
RUN R --vanilla -e "\
if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager', repos = 'https://cran.r-project.org'); \
sapply(c('rhdf5', 'dplyr', 'tidyr', 'reshape2', 'pheatmap', 'corrplot', \
'ggplot2', 'ggbeeswarm', 'scales', 'GGally', 'doParallel', 'RColorBrewer', \
'cowplot', 'ggrepel', 'foreach', 'reticulate', 'HDF5Array', 'DelayedArray', \
'ggpubr', 'forcats', 'Rtsne', 'uwot', \
'systemfonts', 'ragg', 'Cairo', 'ggrastr', 'basilisk'), \
BiocManager::install)"
RUN R CMD INSTALL --build .
CMD []