From de4a9ecbdb682469c0886f0ee7fcd49e61f269fc Mon Sep 17 00:00:00 2001 From: Alex Zurhake Date: Tue, 14 May 2019 12:42:14 +0200 Subject: [PATCH] Downgrade npm to 10 on Centos 6 for build problems Centos-6 does not fulfill the dependencies for npm 12 and therefor the the docker build fails. Change-Id: I0c9c73191a49b6226123bb73ba7f5660d2afb2c3 --- buildscripts/infrastructure/os-nodes/centos-6/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/infrastructure/os-nodes/centos-6/Dockerfile b/buildscripts/infrastructure/os-nodes/centos-6/Dockerfile index 91c51082b76a2..6021f92fee13a 100644 --- a/buildscripts/infrastructure/os-nodes/centos-6/Dockerfile +++ b/buildscripts/infrastructure/os-nodes/centos-6/Dockerfile @@ -34,7 +34,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ && scl enable python27 'python get-pip.py' \ && scl enable python27 'pip install --upgrade setuptools virtualenv' \ && scl enable python27 'pip install git+https://github.com/pypa/pipenv.git' \ - && curl -sL https://rpm.nodesource.com/setup_12.x | bash - + && curl -sL https://rpm.nodesource.com/setup_10.x | bash - RUN yum -y install \ nodejs \ $PACKAGES \