From 528eb03eaa373a194bcb0ab8df2b88e20d39eecd Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Mon, 6 Jan 2020 02:43:56 +0000 Subject: [bugfix] gui build faied in yardstick docker build JIRA: YARDSTICK-1626 it's due to the version of nodejs and npm too old in ubuntu 16.04 default repo Change-Id: I8c969530f7e538104bf5fb39223f720e53642d05 Signed-off-by: rexlee8776 (cherry picked from commit 0cdf063469d85c3dd7c6d14907e80800f2b14ff3) --- gui/gui.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/gui.sh b/gui/gui.sh index 12a14923e..0746fb4a4 100755 --- a/gui/gui.sh +++ b/gui/gui.sh @@ -1,5 +1,6 @@ +curl -sL https://deb.nodesource.com/setup_8.x -o /tmp/nodesource_setup.sh +bash /tmp/nodesource_setup.sh apt-get install -y nodejs -apt-get install -y npm ln -s /usr/bin/nodejs /usr/bin/node npm install npm install -g grunt -- cgit 1.2.3-korg