Adds rstudio

This commit is contained in:
2022-09-14 20:46:52 +02:00
parent 7969f4ee86
commit cd963090f2
3 changed files with 82 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ FROM rocker/tidyverse:latest
RUN apt-get update \
&& apt-get install -y libmariadb-dev \
libicu-dev liblzma-dev libpcre3-dev libpng-dev \
libv8-dev libbz2-dev libxml2-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
@@ -10,6 +12,8 @@ RUN apt-get update \
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
RUN mkdir /home/rstudio/smartmeter
VOLUME /home/rstudio/smartmeter
EXPOSE 8787