Skip to content

Commit

Permalink
only remove cross-spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Nov 21, 2024
1 parent 593dbea commit d318edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cloudbuild/library_generation/library_generation.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ ENV OS_ARCHITECTURE="linux-x86_64"
# install OS tools
RUN apk update && apk add unzip curl rsync openjdk11 jq bash nodejs npm git

# Remove unnecessary npm modules
RUN rm -rf /usr/lib/node_modules/npm/node_modules
# Remove unnecessary cross-spawn from npm to resolve CVE-2024-21538
RUN rm -rf /usr/lib/node_modules/npm/node_modules/cross-spawn/

SHELL [ "/bin/bash", "-c" ]

Expand Down

0 comments on commit d318edf

Please sign in to comment.