Skip to content

Commit fb00bcf

Browse files
filiptronicekmustard-mh
authored andcommitted
Downgrade npm from latest
1 parent ed545bc commit fb00bcf

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

archived/centos7-devtoolset8-arm64/Dockerfile_Unused

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ RUN yum install -y centos-release-scl-rh && \
1919
rpm -V $INSTALL_PKGS && \
2020
yum -y clean all --enablerepo='*'
2121

22-
# install nodejs
23-
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
24-
RUN yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
22+
# update npm and install yarn
23+
RUN npm install -g "[email protected]"
2524
RUN npm install -g yarn
2625
RUN npm install -g node-gyp
2726

archived/centos7-devtoolset8-x64/Dockerfile_Unused

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ RUN yum install -y centos-release-scl-rh && \
1919
rpm -V $INSTALL_PKGS && \
2020
yum -y clean all --enablerepo='*'
2121

22-
# install nodejs
23-
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
24-
RUN yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
22+
# update npm and install yarn
23+
RUN npm install -g "[email protected]"
2524
RUN npm install -g yarn
2625
RUN npm install -g node-gyp
2726

0 commit comments

Comments
 (0)