Adds rstudio

This commit is contained in:
Aart van Halteren
2022-01-12 17:28:47 +01:00
parent 3ed8ea5f8a
commit fca3fd401d
44 changed files with 277 additions and 0 deletions

17
rstudio/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM rocker/tidyverse:latest
RUN apt-get update \
&& apt-get install -y libmariadb-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
## install packages from CRAN (and clean up)
RUN Rscript -e "install.packages(c('tidyverse','purr','psych','lme4','lmerTest','broom','doBy','reshape','emmeans','effects','mlr','randomForest','glmnet','foreign'), repos='https://cran.rstudio.com/')" \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
EXPOSE 8787
CMD ["/init"]