Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Commit 59623ec

Browse files
jorritjpignata
authored andcommitted
Update npm to latest version in docker image
1 parent 5bf994c commit 59623ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ RUN yum -y groupinstall "Development Tools" && \
99
curl --location --output ns.rpm https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodejs-4.3.2-1nodesource.el7.centos.x86_64.rpm && \
1010
rpm --checksig ns.rpm && \
1111
rpm --install --force ns.rpm && \
12+
npm install -g npm@latest && \
13+
npm cache clean && \
1214
rm --force ns.rpm
1315

1416
VOLUME /build

0 commit comments

Comments
 (0)