chore: Distroless Debian 13 docker image (89 -> 10 CVEs)#93
Conversation
🔒 Container Vulnerability Scan (amd64)Click to expand results |
🔒 Container Vulnerability Scan (arm64)Click to expand results |
📝 WalkthroughWalkthroughBuilder images switched from Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
| Category | Debian Trixie | nonroot | debug-nonroot |
|---|---|---|---|
| Shell | ✅ bash, sh | ❌ None | ✅ /busybox/sh |
| Package Manager | ✅ apt | ❌ None | ❌ None |
| Core Utils | ✅ ls, cat, grep, find, cp, mv, rm | ❌ None | ✅ busybox versions |
| Network Tools | ✅ curl, wget, ping, nslookup, nc | ❌ None | ✅ wget, ping, nslookup, nc |
| Process Tools | ✅ ps, top, kill, htop | ❌ None | ✅ ps, kill (basic) |
| Text Editors | ✅ vi, nano | ❌ None | ✅ vi (busybox) |
| Debugging | ✅ strace, gdb | ❌ None | ❌ None |
| CA Certificates | ✅ | ✅ | ✅ |
| Timezone Data | ✅ Full | ||
| Locale Data | ✅ Full | ||
| DNS Resolution | ✅ | ✅ | ✅ |
| User/Group | ✅ Many | ✅ nonroot | ✅ nonroot |
| env command | ✅ | ❌ | ✅ /busybox/env |
| Image Size | ~150MB | ~25MB | ~30MB |
| CVE Count | ~66 | ~10 | ~10-12 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@Dockerfile`:
- Line 7: Change the base image used in the Dockerfile from the debug variant to
the nonroot production variant by replacing the FROM image reference
"gcr.io/distroless/cc-debian13:debug-nonroot" with the nonroot tag
"gcr.io/distroless/cc-debian13:nonroot" so the image no longer includes the
BusyBox debugging shell; update the single Dockerfile FROM instruction
accordingly and ensure any CI/build docs that reference the debug image are
updated to the nonroot variant.
Summary by CodeRabbit
Chores
CI / Chores
✏️ Tip: You can customize this high-level summary in your review settings.