-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Workaround for devcontainer expired key issue #3432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
westey-m
merged 10 commits into
microsoft:main
from
westey-m:devcontainer-version-update-2026-01-23
Jan 26, 2026
Merged
Workaround for devcontainer expired key issue #3432
westey-m
merged 10 commits into
microsoft:main
from
westey-m:devcontainer-version-update-2026-01-23
Jan 26, 2026
+13
−4
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SergeyMenshykh
approved these changes
Jan 26, 2026
Contributor
There was a problem hiding this 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 updates the .NET devcontainer setup to work around an upstream expired key issue and modernize the container configuration.
Changes:
- Introduces a custom
.devcontainer/dotnet.Dockerfilethat removes the Yarn APT repo with an expired GPG key to avoidapt-get updatefailures. - Switches the devcontainer definition from a fixed base image tag to building from the new Dockerfile (effectively tracking the latest .NET dev container image).
- Bumps devcontainer feature versions for .NET, Azure CLI, and Docker-in-Docker.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.devcontainer/dotnet/dotnet.Dockerfile |
Adds a minimal Dockerfile that bases on the official .NET devcontainer image and removes the problematic Yarn APT source as a workaround. |
.devcontainer/dotnet/devcontainer.json |
Updates the devcontainer to build from the new Dockerfile, comments out the direct image reference, and refreshes feature versions. |
rogerbarreto
approved these changes
Jan 26, 2026
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 26, 2026
* Update devcontainer versions for .net * Fix version number * Remove docker in docker * bring back docker in docker * Try bookworm version of container * Try the trixie image * Try noble container * Try preview image * Try 2-10.0 * Add docker file to work around devcontainer bug
This was referenced Jan 27, 2026
This was referenced Jan 29, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Various Microsoft devcontainers including the dotnet one currently don't start due to an expired key issue.
Description
Contribution Checklist