-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
25 lines (19 loc) · 940 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
# Docker inheritance
FROM rocker/rstudio:4.0.3
RUN apt-get update \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get install -y --no-install-recommends \
zlib1g-dev libfftw3-dev \
## Remove packages in '/var/cache/' and 'var/lib'
## to remove side-effects of apt-get update
&& apt-get clean \
&& rm -rf /var/lib/apt/ilists/*
RUN R -e 'install.packages("BiocManager")'
RUN R -e 'BiocManager::install(version = "3.12", update = TRUE, ask = FALSE)'
RUN R -e 'BiocManager::install(c("cytomapper", "workflowr", "dplyr", "tidyverse", "devtools"))'
RUN mkdir /home/rstudio/cytomapper_publication
COPY . /home/rstudio/cytomapper_publication
RUN mkdir /home/rstudio/cytomapper_publication/docs/final_figures
RUN mkdir /home/rstudio/cytomapper_publication/docs/final_figures/main
RUN mkdir /home/rstudio/cytomapper_publication/docs/final_figures/supplements
RUN chown rstudio -R /home/rstudio/cytomapper_publication