File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
centos7-devtoolset8-arm64 Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ RUN yum install -y centos-release-scl-rh && \
19
19
rpm -V $INSTALL_PKGS && \
20
20
yum -y clean all --enablerepo='*'
21
21
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] "
25
24
RUN npm install -g yarn
26
25
RUN npm install -g node-gyp
27
26
Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ RUN yum install -y centos-release-scl-rh && \
19
19
rpm -V $INSTALL_PKGS && \
20
20
yum -y clean all --enablerepo='*'
21
21
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] "
25
24
RUN npm install -g yarn
26
25
RUN npm install -g node-gyp
27
26
You can’t perform that action at this time.
0 commit comments