-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
42 lines (39 loc) · 987 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM r-base:4.1.2
LABEL maintainer=" Susanna Marquez [[email protected]]" \
description="Environment and dependencies for TCR Workflow analysis"
# Install ps, for Nextflow. https://www.nextflow.io/docs/latest/tracing.html
RUN apt-get update && \
apt-get install -y procps \
pandoc \
libcurl4-openssl-dev \
r-cran-curl
# Install required R packages
ARG R_DEPS="c( \
'BiocManager', \
'bookdown', \
'dplyr', \
'ggplot2', \
'ggpubr', \
'grid', \
'gridExtra', \
'immunarch', \
'microbiome', \
'openxlsx', \
'plyr', \
'purrr', \
'RcmdrMisc', \
'RColorBrewer', \
'reshape2', \
'stringdist', \
'tibble', \
'tidyr', \
'vegan', \
'viridis' \
)"
ARG R_BIOC_DEPS="c( \
'Biobase', \
'microbiome')"
RUN Rscript -e "install.packages(${R_DEPS}, clean=TRUE)" && \
Rscript -e "BiocManager::install(${R_BIOC_DEPS})" && \
Rscript -e "install.packages('NMF', clean=TRUE)"
CMD ["R"]