1
0
mirror of https://github.com/rancher/os.git synced 2025-05-05 22:56:21 +00:00
os/scripts/clean

11 lines
307 B
Plaintext
Raw Normal View History

2016-05-06 17:12:09 +00:00
#!/bin/bash
set -e
2016-05-06 17:12:09 +00:00
cd $(dirname $0)/..
rm -rf build dist bin images/*/build state
rm -rf ./scripts/images/openstack/dist
2018-03-19 02:45:11 +00:00
rm -rf ./scripts/images/vmware/dist
docker rmi $(docker images --format "{{.Repository}}:{{.Tag}}" | grep rancher) || true
docker rmi $(docker images --filter dangling=true -q) ||true