mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-07-12 20:15:35 +02:00
- Create build-unified.py that handles both regular and rootless builds - Convert build.py and build-rootless.py to wrapper scripts for backwards compatibility - Update CI workflow to use unified build command - Add BUILD_MIGRATION.md documentation - Eliminate code duplication between build scripts - Support flexible build options: --rootless, --both, --only-stable-latest This maintains all existing functionality while providing a cleaner, more maintainable build system. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
347 B
Python
Executable File
15 lines
347 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Legacy wrapper script for backwards compatibility.
|
|
This script now calls build-unified.py to build regular images.
|
|
"""
|
|
|
|
import subprocess
|
|
import sys
|
|
|
|
# Convert arguments and pass to unified script
|
|
args = ["./build-unified.py"]
|
|
args.extend(sys.argv[1:])
|
|
|
|
# Execute the unified build script
|
|
sys.exit(subprocess.call(args)) |