Skip to content

devcontainer: pin prebuild base to bookworm#89

Merged
bilby91 merged 1 commit into
mainfrom
fix-devcontainer-base-bookworm
Jun 12, 2026
Merged

devcontainer: pin prebuild base to bookworm#89
bilby91 merged 1 commit into
mainfrom
fix-devcontainer-base-bookworm

Conversation

@bilby91

@bilby91 bilby91 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Fix

The DevContainer Prebuild workflow failed on main after #88 merged. Root cause:

(!) Unsupported distribution version 'trixie'.
Supported distributions include: bookworm buster bullseye bionic focal jammy
ERROR: Feature "Docker (Docker-in-Docker)" failed to install!

The rolling mcr.microsoft.com/devcontainers/base:debian tag now resolves to trixie (Debian 13), and the docker-in-docker feature's Moby apt packages don't have a trixie repo yet. This pins the prebuild base image to bookworm (Debian 12), which docker-in-docker supports.

(The --cache-from ... not found lines in the failed log were just first-run noise — the buildcache tags don't exist until the first successful run — not the cause.)

Verification

The prebuild image only builds in CI, so this will be confirmed green by the DevContainer Prebuild run on merge to main.

🤖 Generated with Claude Code

The rolling base:debian tag now resolves to trixie (Debian 13), and the
docker-in-docker feature's Moby apt packages have no trixie repo yet, so
the prebuild failed with "Unsupported distribution version 'trixie'".
Pin to bookworm (Debian 12) until docker-in-docker supports trixie.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@bilby91, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 2 hours, 16 minutes, and 57 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 468154e5-1f87-4170-bff6-5469a8254b65

📥 Commits

Reviewing files that changed from the base of the PR and between ae4dd61 and b346535.

📒 Files selected for processing (1)
  • .devcontainer/devcontainer-build.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-devcontainer-base-bookworm

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the devcontainer prebuild base image to a supported Debian release to restore the DevContainer Prebuild workflow after the upstream rolling :debian tag began resolving to Debian trixie (13), which the docker-in-docker feature does not currently support.

Changes:

  • Change the prebuild base image from mcr.microsoft.com/devcontainers/base:debian (rolling) to mcr.microsoft.com/devcontainers/base:bookworm (Debian 12).
  • Add inline rationale documenting the failure mode (Unsupported distribution version 'trixie') and why bookworm is chosen.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bilby91 bilby91 merged commit 7eab6f0 into main Jun 12, 2026
12 of 13 checks passed
bilby91 added a commit that referenced this pull request Jun 12, 2026
The ":1" pin resolves to a stale frozen 1.x image (the feature has no 1.x
releases anymore — it's at 3.x). That old script runs a global
`pip install docker-compose` on bookworm/arm64, which fails under PEP 668
(externally-managed-environment) — the arm64 prebuild failure that
survived the bookworm pin (#89), the v2-plugin switch (#90), and the
dockerDashComposeVersion=none change (#91), because none of them affect
which feature version runs.

2.x gates the entire compose/pip block behind `!= none`, so with
dockerDashComposeVersion=none there is no pip on arm64 at all. amd64 was
unaffected (it gets a prebuilt v1 binary). `docker compose` v2 still comes
from the moby-compose package.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants