feat: add multi-architecture Docker build support

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>
This commit is contained in:
William Valentin
2025-11-02 01:39:24 -08:00
parent 9f650fa7d4
commit dff42f3766

View File

@@ -1,7 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: adopt-a-street
labels:
name: adopt-a-street
environment: production