Skip to content

Commit 1e1ef18

Browse files
atheo89jiridanek
authored andcommitted
Disable R Packages intallation for RHEL RStudio flavor
(cherry picked from commit 9ec4b0a)
1 parent 53cd6a8 commit 1e1ef18

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

rstudio/rhel9-python-3.12/Dockerfile.cpu

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,13 @@ EOF
160160

161161
COPY ${RSTUDIO_SOURCE_CODE}/rsession.conf /etc/rstudio/rsession.conf
162162

163-
# Install R packages
164-
# https://cran.r-project.org/web/packages
165-
COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
166-
RUN /bin/bash <<'EOF'
163+
# # Install R packages
164+
# # https://cran.r-project.org/web/packages
165+
# COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
166+
# RUN /bin/bash <<'EOF'
167167
set -Eeuxo pipefail
168168
R -f ./install_packages.R
169-
rm ./install_packages.R
170-
EOF
169+
# rm ./install_packages.REOF
171170

172171
ENV APP_ROOT=/opt/app-root
173172

rstudio/rhel9-python-3.12/Dockerfile.cuda

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,13 @@ EOF
174174

175175
COPY ${RSTUDIO_SOURCE_CODE}/rsession.conf /etc/rstudio/rsession.conf
176176

177-
# Install R packages
178-
# https://cran.r-project.org/web/packages
179-
COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
180-
RUN /bin/bash <<'EOF'
177+
# # Install R packages
178+
# # https://cran.r-project.org/web/packages
179+
# COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
180+
# RUN /bin/bash <<'EOF'
181181
set -Eeuxo pipefail
182182
R -f ./install_packages.R
183-
rm ./install_packages.R
184-
EOF
183+
# rm ./install_packages.REOF
185184

186185
ENV APP_ROOT=/opt/app-root
187186

0 commit comments

Comments
 (0)