mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
## Summary - Fixes image build failure by adding fallback to kernel.org mirrors when Ubuntu/Debian repositories fail - Ensures unzip is available during Bun installation process - Improves apt repository configuration to prevent 403 errors in CI ## Root Cause The build was failing for two reasons: 1. Network issues with Ubuntu/Debian package repositories returning 403 Forbidden errors 2. Unzip package not being reliably available in the image layer where Bun installation happens ## Fix - Added fallback mirrors for apt repositories using kernel.org mirrors - Explicitly installed unzip before using it in the Bun installation - Added proper cleanup after package installations to keep image size down ## Test plan - The CI workflow that was previously failing should now succeed - Build the dogfood image locally with `cd dogfood/coder && docker build -t codercom/oss-dogfood:test .` - Verify Bun is correctly installed and can be used Fixes build failure from PR #18154 (original PR that added Bun) 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude <noreply@anthropic.com>