Commit Graph

7 Commits

Author SHA1 Message Date
William Valentin
1f0604cba6 make: add docker buildx multi-arch targets (linux/amd64, linux/arm64) with setup, push, and local build 2025-09-15 01:31:53 -07:00
William Valentin
62a189ef98 fix: resolve .env file parsing issues in Makefile
- Replace shell sourcing with grep/cut parsing to avoid JSON array interpretation
- Strip http:// prefix from registry URLs for Docker commands
- Fix docker-tag to use correct image name (unitforge-unitforge-prod)
- All make commands now work without shell parsing errors
2025-09-14 19:43:00 -07:00
William Valentin
1fb8168b6a refactor: remove legacy support from Docker and Makefile
Dockerfile changes:
- Replace pip with uv package manager for faster builds
- Remove build-essential and git dependencies
- Use pyproject.toml instead of requirements.txt
- Add uv installation and virtual environment setup
- Modernize environment variables and caching
- Fix hadolint warnings (add --no-install-recommends and pipefail)

Makefile changes:
- Remove docker-build-legacy target (legacy builder)
- Remove docker-dev-host and docker-prod-host targets (networking workarounds)
- Remove docker-reset target (networking fixes)
- Remove docker-clean-legacy target (duplicate functionality)
- Clean up help output and reduce maintenance overhead

This modernizes the build system and removes workarounds for older Docker versions and networking issues.
2025-09-14 17:29:21 -07:00
William Valentin
00a71165ac feat: add container registry targets to Makefile
- Add docker-tag, docker-push, docker-pull, docker-login targets
- Add registry-build and registry-push convenience targets
- Add docker-clean-registry for cleanup
- Integrate with CONTAINER_REGISTRY_URL and CONTAINER_TAG environment variables
- Support fallback to default Gitea registry URL when .env is missing
- Update status target to show registry configuration
- Add dual tagging (specific tag + latest)
2025-09-14 17:25:31 -07:00
William Valentin
7131b2ed17 enhance(make): improve Docker commands and add networking workarounds
- Add docker-build-legacy for legacy builder support
- Add docker-dev-host and docker-prod-host for host networking
- Remove complex commands for unused services
- Add docker-reset for networking troubleshooting
- Simplify Docker workflow for core functionality
- Better error handling and documentation
2025-09-14 16:59:48 -07:00
William Valentin
69f6fd1827 feat: integrate environment configuration into development workflow
- Auto-create .env file from template during setup-dev
- Add validate-config target to Makefile for configuration validation
- Update check-uv.sh to use environment variable for GitHub URL
- Provide helpful setup messages and next steps for developers
2025-09-14 15:57:50 -07:00
William Valentin
860f60591c Fix contrast issues with text-muted and bg-dark classes
- Fixed Bootstrap bg-dark class to use better contrasting color
- Added comprehensive text-muted contrast fixes for various contexts
- Improved dark theme colors for better accessibility
- Fixed CSS inheritance issues for code elements in dark contexts
- All color choices meet WCAG AA contrast requirements
2025-09-14 14:58:35 -07:00