mirror of
https://github.com/rancher/os.git
synced 2025-05-04 06:06:19 +00:00
12 lines
347 B
Bash
Executable File
12 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
rm -rf build dist bin images/*/build state
|
|
rm -rf ./scripts/images/openstack/dist
|
|
rm -rf ./scripts/images/vmware/dist
|
|
|
|
docker rmi $(docker images --format "{{.Repository}}:{{.Tag}}" | grep -E "rancher|openstack|kexec|os") || true
|
|
docker rmi $(docker images --filter dangling=true -q) || true
|
|
git clean -dxf
|