@@ -31,8 +31,8 @@ RUN chmod -R a+w /usr/lib64/R/library
31
31
ENV LIBLOC /usr/lib64/R/library
32
32
33
33
# set User R Library path
34
- RUN mkdir -p /opt/app-root/src /Rpackages/4.3 && chmod -R a+w /opt/app-root/src /Rpackages/4.3
35
- ENV R_LIBS_USER /opt/app-root/src /Rpackages/4.3
34
+ RUN mkdir -p /opt/app-root/bin /Rpackages/4.3 && chmod -R a+w /opt/app-root/bin /Rpackages/4.3
35
+ ENV R_LIBS_USER /opt/app-root/bin /Rpackages/4.3
36
36
37
37
WORKDIR /tmp/
38
38
@@ -50,9 +50,17 @@ COPY rsession.conf /etc/rstudio/rsession.conf
50
50
# package installation
51
51
RUN dnf install -y libsodium-devel.x86_64 libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" \
52
52
&& dnf clean all && rm -rf /var/cache/yum
53
- RUN R -e "install.packages('Rcpp')"
54
-
55
- # Install NGINX to proxy RStudio and pass probes check
53
+ # Install R packages
54
+ RUN R -e "install.packages('remotes')"
55
+ RUN R -e "require('remotes'); \
56
+ remotes::install_version('Rcpp','1.0.12'); \
57
+ remotes::install_version('tidyverse','2.0.0'); \
58
+ remotes::install_version('tidymodels','1.1.1'); \
59
+ remotes::install_version('plumber','1.2.1'); \
60
+ remotes::install_version('vetiver','0.2.5'); \
61
+ remotes::install_version('devtools','2.4.5');"
62
+
63
+ # Install NGINX to proxy RStudio and pass probes check
56
64
ENV NGINX_VERSION=1.24 \
57
65
NGINX_SHORT_VER=124 \
58
66
NGINX_CONFIGURATION_PATH=${APP_ROOT}/etc/nginx.d \
0 commit comments