freeleaps-ops/first-class-pipeline
Jet Li c40fb2111d fix: Add --network=host to single-arch Docker builds
Fixes network isolation issue in Docker builds where containers couldn't
reach external networks (PyPI, apt repos, etc).

**Problem:**
- Multi-arch buildx builds use: --driver-opt network=host 
- Single-arch builds were missing: --network=host 
- Result: Docker build containers had [Errno 101] Network unreachable

**Root Cause:**
When docker build runs without --network=host, build containers are
isolated from the host network and can't reach external services.

**Solution:**
Add --network=host flag to single-arch docker build command on line 131.

**Testing:**
This matches the configuration used successfully in multi-arch builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 18:31:31 -07:00
..
pipeline feat: add DockerHub authentication to prevent rate limiting 2025-10-16 12:46:44 +08:00
resources/com/freeleaps/devops/builtins fix: update semantic-release configuration to include 'main' branch 2025-03-31 07:46:59 +08:00
src/com/freeleaps/devops fix: Add --network=host to single-arch Docker builds 2025-10-18 18:31:31 -07:00
tests chore(git): code staging 2025-02-17 14:02:49 +08:00
vars feat: add DockerHub authentication to prevent rate limiting 2025-10-16 12:46:44 +08:00