diff --git a/rstudio/c9s-python-3.9/Dockerfile b/rstudio/c9s-python-3.9/Dockerfile index 300a25ed0..103f45630 100644 --- a/rstudio/c9s-python-3.9/Dockerfile +++ b/rstudio/c9s-python-3.9/Dockerfile @@ -50,6 +50,7 @@ COPY rsession.conf /etc/rstudio/rsession.conf # package installation RUN dnf install -y libsodium-devel.x86_64 libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" RUN R -e "install.packages('Rcpp')" +RUN if [-n = $NEEDPACKAGE]; then R -e "install.packages(c('tidyverse', 'tidymodels', 'plumber', 'vetiver', 'devtools'))" ; else exit 0 # Install NGINX to proxy RStudio and pass probes check ENV NGINX_VERSION=1.22 \