Skip to content

Conversation

@westey-m
Copy link
Contributor

Motivation and Context

Various Microsoft devcontainers including the dotnet one currently don't start due to an expired key issue.

Description

  • Add a dockerfile to work around key issue
  • Default to latest dotnet dev container
  • Update feature versions

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings January 26, 2026 12:04
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 updates the .NET devcontainer setup to work around an upstream expired key issue and modernize the container configuration.

Changes:

  • Introduces a custom .devcontainer/dotnet.Dockerfile that removes the Yarn APT repo with an expired GPG key to avoid apt-get update failures.
  • 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.

@westey-m westey-m added this pull request to the merge queue 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
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 26, 2026
@westey-m westey-m added this pull request to the merge queue Jan 26, 2026
Merged via the queue into microsoft:main with commit bbe096a Jan 26, 2026
16 checks passed
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