Fix test-scheduler build bugs. 55/66355/2
authorQibin Zheng <QibinZheng2014@tongji.edu.cn>
Mon, 14 Jan 2019 07:44:37 +0000 (15:44 +0800)
committerQibin Zheng <QibinZheng2014@tongji.edu.cn>
Fri, 25 Jan 2019 02:19:36 +0000 (10:19 +0800)
JIRA: BOTTLENECK-249

1. set the conductor version at v1.10.4
2. conductor ui container: update natives to the version 1.1.6
3. scheduler ui container: update the npm to the version 6.7.0

Change-Id: I1ed975f79ce1696a59474a15c721db40509550a1
Signed-off-by: Qibin Zheng <QibinZheng2014@tongji.edu.cn>
test-scheduler/docker/plugin/build.sh
test-scheduler/docker/ui/pre-builder/Dockerfile

index d5523b4..079f2d1 100644 (file)
@@ -25,4 +25,5 @@ docker rm -f $plugin_container
 
 #build the images of conductor.
 cd $tmppath/conductor/docker
+sed -i '/&& npm install/a\  && npm i natives@1.1.6 -S \\' ui/Dockerfile
 docker-compose build
index 92fbda3..4144ce2 100644 (file)
@@ -12,6 +12,7 @@ MAINTAINER x-lab/Leo
 WORKDIR /home/test-scheduler/ui
 COPY ./ui .
 
+RUN npm install npm@6.7.0 -g
 RUN npm install
 RUN npm run build