diff options
author | rexlee8776 <limingjiang@huawei.com> | 2020-01-06 02:43:56 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2020-01-06 02:50:55 +0000 |
commit | 0cdf063469d85c3dd7c6d14907e80800f2b14ff3 (patch) | |
tree | 3aed1dfd796c102e7a7137c7a9e852beaedb3eea | |
parent | 13967af6479058515fea6c94c4d5b8dc9da536cc (diff) |
[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 <limingjiang@huawei.com>
-rwxr-xr-x | gui/gui.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |