Skip to content

Commit 6e359a7

Browse files
authored
RHAIENG-948: chore(rstudio): add npm installation to support cve_remediation when using AIPCC base image lacking npm by default (#2672)
``` + ./cve_remediation.sh ++ uname -m + rm /usr/lib/rstudio-server/bin/quarto/bin/tools/x86_64/esbuild + npm ci ./cve_remediation.sh: line 7: npm: command not found ```
1 parent b3c3835 commit 6e359a7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

rstudio/rhel9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ mkdir -p /usr/share/doc/R
158158
# package installation
159159
# install necessary texlive-framed package to make Knit R markup to PDF rendering possible
160160
dnf install -y libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" texlive-framed
161+
# install npm to run cve_remediation script
162+
dnf install -y npm
161163
dnf clean all
162164
rm -rf /var/cache/yum
163165
(cd /tmp/utils && ./cve_remediation.sh)

rstudio/rhel9-python-3.12/Dockerfile.cuda

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ mkdir -p /usr/share/doc/R
172172
# package installation
173173
# install necessary texlive-framed package to make Knit R markup to PDF rendering possible
174174
dnf install -y libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" texlive-framed
175+
# install npm to run cve_remediation script
176+
dnf install -y npm
175177
dnf clean all
176178
rm -rf /var/cache/yum
177179
(cd /tmp/utils && ./cve_remediation.sh)

0 commit comments

Comments
 (0)