Skip to content

Devcontainer: bump base image Ubuntu version#4277

Merged
TingluoHuang merged 2 commits intoactions:mainfrom
MaxHorstmann:maxhorstmann/devcontainer-fix
Mar 4, 2026
Merged

Devcontainer: bump base image Ubuntu version#4277
TingluoHuang merged 2 commits intoactions:mainfrom
MaxHorstmann:maxhorstmann/devcontainer-fix

Conversation

@MaxHorstmann
Copy link
Contributor

@MaxHorstmann MaxHorstmann commented Mar 4, 2026

Can't open dev container on Mac with silicon chip because of older Ubuntu focal (20.04) base image. Bumping to jammy (22.04) noble (24.04) (and also bumping docker-in-docker) fixes it.

$ docker pull mcr.microsoft.com/devcontainers/base:focal
Error response from daemon: no match for platform in manifest: not found

$ docker pull mcr.microsoft.com/devcontainers/base:noble
noble: Pulling from devcontainers/base
Digest: sha256:3dcb059253b2ebb44de3936620e1cff3dadcd2c1c982d579081ca8128c1eb319
Status: Image is up to date for mcr.microsoft.com/devcontainers/base:noble
mcr.microsoft.com/devcontainers/base:noble

@MaxHorstmann MaxHorstmann changed the title Update devcontainer image from focal to jammy Devcontainer: bump base image Ubuntu version Mar 4, 2026
@MaxHorstmann MaxHorstmann marked this pull request as ready for review March 4, 2026 19:49
@MaxHorstmann MaxHorstmann requested a review from a team as a code owner March 4, 2026 19:49
Copilot AI review requested due to automatic review settings March 4, 2026 19:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the devcontainer configuration to use Ubuntu 22.04 (jammy) instead of Ubuntu 20.04 (focal) as the base image, fixing compatibility with Apple Silicon Macs where the older image is not available for ARM64. The docker-in-docker feature is also bumped to its latest major version.

Changes:

  • Updated the devcontainer base image from focal (20.04) to jammy (22.04) for ARM64 support.
  • Bumped the docker-in-docker devcontainer feature from version 1 to 2.

You can also share your feedback on Copilot code review. Take the survey.

@TingluoHuang TingluoHuang enabled auto-merge (squash) March 4, 2026 20:16
@TingluoHuang TingluoHuang merged commit 8f01257 into actions:main Mar 4, 2026
10 checks passed
@MaxHorstmann MaxHorstmann deleted the maxhorstmann/devcontainer-fix branch March 4, 2026 20:18
dawidmalina pushed a commit to dawidmalina/github-runner that referenced this pull request Mar 19, 2026
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.

3 participants