1 ##############################################################################
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 # get the absolute path of this shell file.
11 basepath=$(cd `dirname $0`; pwd)
12 # get the root directory of this project
13 projectpath=$basepath/../..
16 ui_image="$group/test-scheduler:ui"
18 # build the ui-project and generate the dist package.
19 sh $basepath/pre-builder/build.sh
20 sh $basepath/pre-builder/run.sh
22 docker build -t $ui_image -f $basepath/Dockerfile $projectpath