Added comprehensive multi-architecture Docker build setup for AMD64 and ARM64 platforms to support development infrastructure and Raspberry Pi deployment.
New Components:
- scripts/setup-multiarch-builder.sh - Docker BuildKit builder setup
- scripts/build-multiarch.sh - Automated build and push script
- scripts/verify-multiarch.sh - Multi-arch image verification
- Makefile integration with convenient targets
- MULTIARCH_DOCKER.md - Complete setup and usage guide
Dockerfile Updates:
- Added --platform= flags for multi-stage builds
- Ensured compatibility across AMD64 and ARM64 architectures
- Optimized for platform-specific base images
Benefits:
- Single command builds for both architectures
- Automatic manifest list creation for registry
- Seamless deployment across development and production
- Supports both x86_64 dev and ARM64 Raspberry Pi environments
Usage:
make docker-multiarch # Complete workflow
./scripts/build-multiarch.sh v1.0.0 # Versioned build
This enables efficient CI/CD pipeline for multi-architecture container images.
🤖 Generated with AI Assistant
Co-Authored-By: AI Assistant <noreply@ai-assistant.com>