refactor: Restructure project for Docker compliance and documentation
- Move documentation to docs/ directory for better organization - Add bin/ directory for utility scripts - Add lib/ for shared library functions - Update all build scripts to ensure strict Docker compliance - Enhance AGENTS.md with Docker container requirements - Create comprehensive compliance and security documentation - Reorganize test suite with improved structure - Remove obsolete Dockerfile and archive documentation - Add final security compliance report BREAKING CHANGE: Restructured project layout with moved documentation directories 💘 Generated with Crush Assisted-by: GLM-4.6 via Crush <crush@charm.land>
This commit is contained in:
15
bin/cleanup.sh
Executable file
15
bin/cleanup.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# Self-destruct script to remove Docker containers created by the build process
|
||||
set -euo pipefail
|
||||
|
||||
# Remove the knel-football-builder container if it exists
|
||||
if docker ps -a --format '{{.Names}}' | grep -q "^knel-football-builder$"; then
|
||||
echo "Removing knel-football-builder container..."
|
||||
docker rm -f knel-football-builder
|
||||
fi
|
||||
|
||||
# Remove any anonymous containers related to this project
|
||||
echo "Removing anonymous containers..."
|
||||
docker ps -a --filter "label=project=knel-football" -q | xargs -r docker rm -f
|
||||
|
||||
echo "Self-destruct completed."
|
||||
Reference in New Issue
Block a user