Skip to content

Commit e9c915d

Browse files
jiridanekatheo89
andauthored
RHOAIENG-38634: sync(rstudio): comment out R packages installation same as we do in rhds/notebooks (opendatahub-io#2674)
* Disable R Packages intallation for RHEL RStudio flavor (cherry picked from commit 9ec4b0a) * NO-JIRA: fix syntax error transforming commented out instructions (#1682) (cherry picked from commit f9624b5) --------- Co-authored-by: atheo89 <atheodorak@outlook.com>
1 parent ad632ba commit e9c915d

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

rstudio/rhel9-python-3.12/Dockerfile.cpu

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ EOF
167167

168168
COPY ${RSTUDIO_SOURCE_CODE}/rsession.conf /etc/rstudio/rsession.conf
169169

170-
# Install R packages
171-
# https://cran.r-project.org/web/packages
172-
COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
173-
RUN /bin/bash <<'EOF'
174-
set -Eeuxo pipefail
175-
R -f ./install_packages.R
176-
rm ./install_packages.R
177-
EOF
170+
# # Install R packages
171+
# # https://cran.r-project.org/web/packages
172+
# COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
173+
# RUN /bin/bash <<'EOF'
174+
# set -Eeuxo pipefail
175+
# R -f ./install_packages.R
176+
# rm ./install_packages.R
177+
# EOF
178178

179179
ENV APP_ROOT=/opt/app-root
180180

rstudio/rhel9-python-3.12/Dockerfile.cuda

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,14 @@ EOF
181181

182182
COPY ${RSTUDIO_SOURCE_CODE}/rsession.conf /etc/rstudio/rsession.conf
183183

184-
# Install R packages
185-
# https://cran.r-project.org/web/packages
186-
COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
187-
RUN /bin/bash <<'EOF'
188-
set -Eeuxo pipefail
189-
R -f ./install_packages.R
190-
rm ./install_packages.R
191-
EOF
184+
# # Install R packages
185+
# # https://cran.r-project.org/web/packages
186+
# COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
187+
# RUN /bin/bash <<'EOF'
188+
# set -Eeuxo pipefail
189+
# R -f ./install_packages.R
190+
# rm ./install_packages.R
191+
# EOF
192192

193193
ENV APP_ROOT=/opt/app-root
194194

0 commit comments

Comments
 (0)