freeleaps-ops/first-class-pipeline/src/com/freeleaps/devops
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
..
enums feat(helm): add Helm charts for chat and freeleaps services with initial configurations 2025-02-25 02:14:16 +08:00
lint feat(lint): enhance ESLint integration by adding version and plugin support 2025-02-07 17:31:27 +08:00
sast feat(pipeline): add Bandit SAST scanner and enhance linting configurations 2025-02-07 15:18:40 +08:00
ArgoApplicationVersionUpdater.groovy fix(argo): enhance ciOriginUrl construction in ArgoApplicationVersionUpdater to handle optional port in repository URL 2025-06-23 16:16:08 +08:00
ChangedComponentsDetector.groovy feat(pipeline): enhance ChangedComponentsDetector logging and refine conditional execution for component stages 2025-02-22 20:45:11 +08:00
CodeLintExecutor.groovy feat(lint): add component property to CodeLintExecutor for enhanced configuration 2025-02-07 17:35:52 +08:00
CommitMessageLinter.groovy feat(ci): enhance debug output in SemanticReleasingExecutor by adding user context 2025-03-06 17:42:35 +08:00
DependenciesResolver.groovy fix(dependencies): increase cache size for npm, yarn, and pnpm installations 2025-04-14 14:45:11 +08:00
ImageBuilder.groovy fix: Add --network=host to single-arch Docker builds 2025-10-18 18:31:31 -07:00
SASTExecutor.groovy feat(SAST): import Bandit scanner in SASTExecutor 2025-02-07 15:23:46 +08:00
SemanticReleasingExecutor.groovy refactor: improve version checking logic in SemanticReleasingExecutor 2025-04-21 11:48:44 +08:00
SourceFetcher.groovy fix(pipeline): update SourceFetcher to use dynamic git credentials ID 2025-02-07 15:44:52 +08:00