Merge "Add test-scheduler dir to verity"
[bottlenecks.git] / test-scheduler / docker / server / build.sh
1 ##############################################################################
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
3 #
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 ##############################################################################
9
10 # get the absolute path of this shell file.
11 basepath=$(cd `dirname $0`; pwd)
12
13 # get the root directory of this project
14 projectpath=$basepath/../..
15 group="x-lab"
16
17 # server image name
18 server_image="$group/test-scheduler:server"
19
20 docker build -t $server_image -f $basepath/Dockerfile  $projectpath