Skip to content

Commit

Permalink
Fix npm verion in node 16, 17 and 19
Browse files Browse the repository at this point in the history
  • Loading branch information
jesforge authored Apr 18, 2024
1 parent c349fa3 commit 5324a93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtimes/nodejs/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL author="Jesper Richert" maintainer="[email protected]"

RUN apt update \
&& apt -y install ffmpeg iproute2 git libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& npm -g install npm@latest \
&& npm -g install npm@8.19.4 \
&& useradd -m -d /home/container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion runtimes/nodejs/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL author="Jesper Richert" maintainer="[email protected]"

RUN apt update \
&& apt -y install ffmpeg iproute2 git libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& npm -g install npm@latest \
&& npm -g install npm@8.11.0 \
&& useradd -m -d /home/container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion runtimes/nodejs/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL author="Jesper Richert" maintainer="[email protected]"

RUN apt update \
&& apt -y install ffmpeg iproute2 git libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& npm -g install npm@latest \
&& npm -g install npm@9.6.3 \
&& useradd -m -d /home/container container

USER container
Expand Down

0 comments on commit 5324a93

Please sign in to comment.