Interview Prep/Docker/CI/CD and production rollouts

Docker build is flaky in CI due to network errors on package installs.

IntermediateScenarioCI/CD and production rollouts
Answer

Situation read → External mirrors fail intermittently.

What I'd do → Use internal package proxies (Artifactory/Nexus/Athens), add retries (pip --retries 5, apt -o Acquire::Retries=3), vendor dependencies for critical paths, and use cache mounts.

Why → Reduces external dependency on the critical path.

Interview tip → Flaky builds are an availability problem for the whole team.

All Docker questions Roadmap: Docker & containers

More on CI/CD and production rollouts