'Generic Commit'
Some checks failed
dropshell-build / build (push) Has been cancelled

This commit is contained in:
Your Name
2025-06-14 22:07:46 +12:00
parent e4d0661d50
commit 1ac00e83f8
12 changed files with 164 additions and 144 deletions

19
tests/clear-cache.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
set -euo pipefail
echo "Clearing Docker build cache..."
# Clear the build cache
docker builder prune -af
# Optional: Also clear dangling images and containers
echo "Cleaning up dangling images and stopped containers..."
docker system prune -f
echo "Build cache cleared successfully!"
# Show disk usage after cleanup
echo ""
echo "Docker disk usage after cleanup:"
docker system df