Skip to content

Commit

Permalink
Option to install R core package in R-Studio Build
Browse files Browse the repository at this point in the history
  • Loading branch information
dibryant committed Feb 13, 2024
1 parent 49c407a commit 01e400d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rstudio/c9s-python-3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'))" && R -e "install_versions('tidyverse', version = '2.0.0', 'tidymodels', version = '1.1.1', 'vetiver', version = '0.2.5', 'plumber', version = '1.2.1', 'devtools', verison = '2.4.5' )"; else exit 0

# Install NGINX to proxy RStudio and pass probes check
ENV NGINX_VERSION=1.22 \
Expand Down

0 comments on commit 01e400d

Please sign in to comment.