From e76dc50b0b6440a14a6c90285fdad8419a2d7a3e Mon Sep 17 00:00:00 2001 From: bilby91 Date: Fri, 12 Jun 2026 14:29:44 -0300 Subject: [PATCH] devcontainer: use Compose v2 in docker-in-docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The docker-in-docker feature defaults to Compose v1, which has no arm64 standalone binary and falls back to `pip install docker-compose` — that now fails on bookworm under PEP 668 (externally-managed-environment), so the arm64 prebuild broke (amd64 passed because the v1 binary exists). Pin dockerDashComposeVersion to v2, the `docker compose` CLI plugin the integration suite already uses. v1 is EOL regardless. Co-Authored-By: Claude Opus 4.8 --- .devcontainer/devcontainer-build.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer-build.json b/.devcontainer/devcontainer-build.json index 18041b5..140cd6c 100644 --- a/.devcontainer/devcontainer-build.json +++ b/.devcontainer/devcontainer-build.json @@ -14,7 +14,13 @@ "version": "1.26" }, "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/devcontainers/features/docker-in-docker:1": {}, + "ghcr.io/devcontainers/features/docker-in-docker:1": { + // Use Compose v2 (the `docker compose` CLI plugin), which is what the + // integration suite calls. The default "v1" has no arm64 standalone + // binary, so the feature falls back to `pip install docker-compose`, + // which fails on bookworm under PEP 668 (externally-managed-environment). + "dockerDashComposeVersion": "v2" + }, "ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { "packages": "make" },