Fix test-scheduler build bugs.
[bottlenecks.git] / test-scheduler / docker / clean.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 sudo docker rm -f t-scheduler-server \
11                   t-scheduler-ui \
12                   conductor_conductor-server_1 \
13                   conductor_conductor-ui_1 \
14                   conductor_dynomite_1 \
15                   conductor_elasticsearch_1
16
17 sudo docker network rm conductor_default
18
19 sudo docker rmi x-lab/test-scheduler:server \
20                 x-lab/test-scheduler:ui \
21                 x-lab/conductor:builder \
22                 conductor:ui \
23                 conductor:server \
24                 elasticsearch:2.4 \
25                 v1r3n/dynomite:latest \
26                 java:8-jre-alpine \
27                 python:2.7 \
28                 node:alpine \
29                 nginx:latest \
30                 java:latest \
31
32 echo "--- Clean Finished ---"