clean 347 B

123456789101112
  1. #!/bin/bash
  2. set -e
  3. cd $(dirname $0)/..
  4. rm -rf build dist bin images/*/build state
  5. rm -rf ./scripts/images/openstack/dist
  6. rm -rf ./scripts/images/vmware/dist
  7. docker rmi $(docker images --format "{{.Repository}}:{{.Tag}}" | grep -E "rancher|openstack|kexec|os") || true
  8. docker rmi $(docker images --filter dangling=true -q) || true
  9. git clean -dxf