generated from Bioconductor/BuildABiocWorkshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
16 lines (7 loc) · 987 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM rocker/ml:4.1.1
WORKDIR /home/rstudio
COPY --chown=rstudio:rstudio . /home/rstudio/
RUN sudo apt-get update -y && sudo apt-get install -y pciutils libfftw3-dev libfftw3-doc r-base-dev libcurl4-openssl-dev libxml2-dev libssl-dev libmagick++-6.q16-dev graphviz graphviz-dev
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); BiocManager::install(ask=FALSE); devtools::install('.', dependencies=TRUE, build_vignettes=TRUE, repos = BiocManager::repositories())"
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); BiocManager::install(c('ExperimentHub', 'BioImageDbs', 'EBImage', 'BiocStyle', 'AnnotationHub'), ask=FALSE); devtools::install_github('kumeS/rMiW', build_vignettes=FALSE, dependencies ='Imports')"
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); install.packages(c('R.cache', 'knitr', 'rmarkdown', 'DiagrammeR', 'reticulate', 'remotes')); keras::install_keras(); reticulate::py_install('pydot')"