This is a collection of Dockerfiles for different configurations of Rstudio.
Docker containers depend on each other (FROM) and there is a build script which builds the complete stack of containers. Inside this script you can set the desired R Version. The other containers will be built accordingly:
tested with: -v 3.6.3, 4.0.3, 4.3.1, 4.6.0
$ ./build.sh
A command to create a crossbuild for x86 eg. on an M-series Mac:
./build.sh -v 4.6.0 --what=knitr --arm-crossbuild
The containers will be built under the names reslp/rstudio-TAG:RVERSION. Where RVERSION will be the R version with which the container was built and TAG refers to the flavour of container with different sets of included R packages. The following TAGs are available:
- base: tidyverse
- plotting: (base) + ggpubr ggrepel cowplot viridis patchwork viridis wesanderson gridExtra
- phylogenetics: (plotting) + coda ggfortify BiocManager brms here janitor purrr viridis tidybayes bayesplot modelr arm forcats phytools ape
- knitr: (phylogenetics) + knitr kableExtra tinytex rprojroot
Change the password accordingly. The username is rstudio.
docker run --rm -p 8787:8787 -v $(pwd):/home/rstudio -e PASSWORD=testpassword reslp/rstudio-knitr:4.0.0