Devcontainer fails to build on Apple Silicon (arm64) due to trixie base image
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 91/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- docker, dockerfile, javascript
- Domain
- devops
Research direction
Open .devcontainer/Dockerfile and inspect the base-image declaration and apt-get install step. Build the devcontainer for linux/arm64 and confirm the dependency installation completes without the reported package errors.
Written by the indexing model from the issue text.
Description
The devcontainer fails to build on Apple Silicon Macs. The base image mcr.microsoft.com/vscode/devcontainers/javascript-node:22 resolves to Debian 13 (trixie) on arm64, where python3-distutils and software-properties-common are unavailable, causing the apt-get install step to fail.
Verified with:
$ docker run --rm --platform linux/arm64 \
mcr.microsoft.com/vscode/devcontainers/javascript-node:22 \
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
Error:
E: Unable to locate package software-properties-common
E: Package 'python3-distutils' has no installation candidate
Fix: Pin the base image in .devcontainer/Dockerfile to the bookworm variant:
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:22-bookworm
This is a one-line change that makes the devcontainer build correctly on arm64.
- Dominant language
- C++
- Stars
- 8.8k
- Forks
- 744
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 205
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudflare/workerd
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
cloudflare/workerd#7282 ·
-
[Miniflare] Cross-worker Durable Object proxy drops ctx.id.name for IDs created with idFromName() Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cloudflare/workerd#7286 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
cloudflare/workerd#7026 · 2 comments · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
cloudflare/workerd#6922 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
cloudflare/workerd#6921 ·
All issues in cloudflare/workerd
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
infiniflow/infinity#3502 ·