Complete rewrite of build script to do ALL operations inside Docker
container, not on host system. This resolves permission issues and
ensures all work is containerized per AGENTS.md specification.
1. **Single Docker Container**:
- All build steps now run in ONE Docker container
- No directory operations on host system
- No cleanup operations on host system
- All temporary files created and cleaned inside container
2. **Fixed Directory Paths**:
- ISO_DIR changed from scripts/iso-tmp to iso-tmp
- Matches Docker volume mount (/build)
- Resolves "No such directory" errors
3. **Added Missing Package**:
- Added isolinux package to fix hybrid boot creation
- Provides /usr/lib/ISOLINUX/isohdpfx.bin
4. **Docker-only Workflow**:
- Host: Only creates output/ directory
- Docker: Download, extract, inject, create ISO, cleanup
- Output: ISO written to mounted volume
5. **Build Process**:
Step 1: Download Debian ISO (inside Docker)
Step 2: Extract ISO (inside Docker)
Step 3: Inject preseed and scripts (inside Docker)
Step 4: Create new ISO (inside Docker)
Step 5: Verify ISO (inside Docker)
Cleanup: Remove temporary directories (inside Docker)
Files Updated:
- scripts/build-iso.sh (complete rewrite, Docker-only)
Output:
- output/football-installer.iso (940MB, bootable)
💘 Generated with Crush
Assisted-by: GLM-4.7 via Crush <crush@charm.land>