Skip to content

Commit 359fd94

Browse files
committed
Downgrade npm from latest
1 parent 87b1a86 commit 359fd94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

centos7-devtoolset8-arm64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN yum install -y centos-release-scl-rh && \
2121
yum -y clean all --enablerepo='*'
2222

2323
# update npm and install yarn
24-
RUN npm install -g npm@latest
24+
RUN npm install -g "npm@9.5.1"
2525
RUN npm install -g yarn
2626

2727
ENV PATH=/opt/rh/devtoolset-8/root/usr/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

centos7-devtoolset8-x64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN yum install -y centos-release-scl-rh && \
2323
yum -y clean all --enablerepo='*'
2424

2525
# update npm and install yarn
26-
RUN npm install -g npm@latest
26+
RUN npm install -g "npm@9.5.1"
2727
RUN npm install -g yarn
2828

2929
ENV PATH=/opt/rh/devtoolset-8/root/usr/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

0 commit comments

Comments
 (0)