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 ##############################################################################
12 ui_image="$group/test-scheduler:ui-builder"
14 ui_container='t-scheduler-ui-builder'
15 # get the absolute path of this shell file.
16 basepath=$(cd `dirname $0`; pwd)
17 docker run -d --name $ui_container $ui_image
19 docker cp $ui_container:/home/test-scheduler/ui/dist $basepath/../
20 docker rm -f $ui_container