Skip to content

fix(devcontainer): use current python image and modern ENV syntax#475

Merged
shbatm merged 1 commit into
v3.x.xfrom
fix/devcontainer-image-and-env-warning
May 2, 2026
Merged

fix(devcontainer): use current python image and modern ENV syntax#475
shbatm merged 1 commit into
v3.x.xfrom
fix/devcontainer-image-and-env-warning

Conversation

@shbatm

@shbatm shbatm commented May 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The legacy mcr.microsoft.com/vscode/devcontainers/python:0-* tags are no longer published; devcontainer up currently fails with mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bookworm: not found. Switch the FROM line to the current mcr.microsoft.com/vscode/devcontainers/python namespace, which is the documented active location for the Microsoft devcontainer images.
  • Resolve the BuildKit LegacyKeyValueFormat warning by using ENV SHELL=/bin/bash instead of ENV SHELL /bin/bash.

Test plan

  • devcontainer up --workspace-folder . succeeds and produces an image with no warnings.
  • Image still resolves to a Debian Bookworm + Python 3.11 base (default VARIANT=3-bullseye was preserved as the ARG default; the devcontainer.json overrides it to 3.11-bookworm).

🤖 Generated with Claude Code

The legacy `mcr.microsoft.com/vscode/devcontainers/python:0-*` tags are no
longer published, so `devcontainer up` fails with a manifest-not-found
error. Switch to the current `mcr.microsoft.com/vscode/devcontainers/python`
namespace.

Also resolve the BuildKit `LegacyKeyValueFormat` warning by using
`ENV key=value` instead of `ENV key value`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@shbatm
shbatm merged commit 474153a into v3.x.x May 2, 2026
2 checks passed
@shbatm
shbatm deleted the fix/devcontainer-image-and-env-warning branch May 2, 2026 10:50
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.

1 participant