1 ##############################################################################
\r
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
\r
4 # All rights reserved. This program and the accompanying materials
\r
5 # are made available under the terms of the Apache License, Version 2.0
\r
6 # which accompanies this distribution, and is available at
\r
7 # http://www.apache.org/licenses/LICENSE-2.0
\r
8 ##############################################################################
\r
12 ui_image="$group/testing-scheduler:ui-builder"
\r
14 ui_container='t-scheduler-ui-builder'
\r
15 # get the absolute path of this shell file.
\r
16 basepath=$(cd `dirname $0`; pwd)
\r
17 docker run -d --name $ui_container $ui_image
\r
19 docker cp $ui_container:/home/testing-scheduler/ui/dist $basepath/../
\r
20 docker rm -f $ui_container
\r