-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (17 loc) · 805 Bytes
/
Dockerfile
File metadata and controls
28 lines (17 loc) · 805 Bytes
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
FROM bioconductor/bioconductor_docker:RELEASE_3_18
#WORKDIR /home/rstudio
#COPY --chown=rstudio:rstudio . /home/rstudio/
#RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); BiocManager::install(ask=FALSE)"
#RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); devtools::install('.', dependencies=TRUE, build_vignettes=TRUE, repos = BiocManager::repositories())"
## R package installation scripts
ADD install.R /home/
## Setup folder structure
ADD docker_setup.sh /home/
## Set up tests for Docker compile, large memory, use config.yaml when building Docker
# ADD docker_test.R /home/
## Set up data and teaching materials
RUN bash /home/docker_setup.sh
## Install all R packages
RUN R -f /home/install.R
## Running test
# RUN R -f /home/docker_test.R