Skip to content

Commit a0bbde9

Browse files
authored
fix(devcontainer): bump to v3 Python image to fix Yarn GPG key failure (#781)
The v2 base image (mcr.microsoft.com/devcontainers/python:2-3.14-trixie) ships with a Yarn Classic APT repository whose GPG key has expired, causing apt-get update to fail during feature installation and breaking the entire devcontainer build. Bump to the v3 image (python:3-3.14-trixie, published 2026-01-30) which no longer includes the Yarn APT repo, resolving the issue without any additional workarounds. Ref: devcontainers/images#1797
1 parent a29dc18 commit a0bbde9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Python 3",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/python:2-3.14-trixie",
6+
"image": "mcr.microsoft.com/devcontainers/python:3-3.14-trixie",
77
"features": {
88
"ghcr.io/devcontainers/features/copilot-cli:1": {},
99
"ghcr.io/devcontainers/features/github-cli:1": {},

0 commit comments

Comments
 (0)