From c94deb3f6a5cd69cb213855f76f9051df10ae200 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 15:25:16 +0000 Subject: [PATCH 01/10] Update devcontainer versions for .net --- .devcontainer/dotnet/devcontainer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index 59b56a4438..b95b9d7f42 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,11 +1,11 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet:10.0", + "image": "mcr.microsoft.com/devcontainers/dotnet", "features": { - "ghcr.io/devcontainers/features/dotnet:2.4.0": {}, + "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, - "ghcr.io/devcontainers/features/azure-cli:1.2.8": {}, - "ghcr.io/devcontainers/features/docker-in-docker:2.12.4": {} + "ghcr.io/devcontainers/features/azure-cli:1.2.9": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2.14.1": {} }, "workspaceFolder": "/workspaces/agent-framework/dotnet/", "customizations": { From b368ea68785e971478e372503f5f72ba3207a436 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 15:29:49 +0000 Subject: [PATCH 02/10] Fix version number --- .devcontainer/dotnet/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index b95b9d7f42..0ee4b31c93 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -5,7 +5,7 @@ "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, "ghcr.io/devcontainers/features/azure-cli:1.2.9": {}, - "ghcr.io/devcontainers/features/docker-in-docker:2.14.1": {} + "ghcr.io/devcontainers/features/docker-in-docker:2.14.0": {} }, "workspaceFolder": "/workspaces/agent-framework/dotnet/", "customizations": { From cee5109ea70d06e878cfcf30cc30c3206443e642 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:00:10 +0000 Subject: [PATCH 03/10] Remove docker in docker --- .devcontainer/dotnet/devcontainer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index 0ee4b31c93..24be80ec38 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -4,8 +4,7 @@ "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, - "ghcr.io/devcontainers/features/azure-cli:1.2.9": {}, - "ghcr.io/devcontainers/features/docker-in-docker:2.14.0": {} + "ghcr.io/devcontainers/features/azure-cli:1.2.9": {} }, "workspaceFolder": "/workspaces/agent-framework/dotnet/", "customizations": { From 336584ca7cd1d531c2f1570a976b55a60480ea71 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:16:08 +0000 Subject: [PATCH 04/10] bring back docker in docker --- .devcontainer/dotnet/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index 24be80ec38..0ee4b31c93 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -4,7 +4,8 @@ "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, - "ghcr.io/devcontainers/features/azure-cli:1.2.9": {} + "ghcr.io/devcontainers/features/azure-cli:1.2.9": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2.14.0": {} }, "workspaceFolder": "/workspaces/agent-framework/dotnet/", "customizations": { From d53e77eed31bc4cd0c9eb07aa56db190daff9423 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:17:52 +0000 Subject: [PATCH 05/10] Try bookworm version of container --- .devcontainer/dotnet/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index 0ee4b31c93..8b64ccd766 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,6 +1,6 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet", + "image": "mcr.microsoft.com/devcontainers/dotnet:1.5.5-10.0-bookworm", "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, From 22ff62ab082a03040eb27243d8ebaa165da0fae5 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:21:48 +0000 Subject: [PATCH 06/10] Try the trixie image --- .devcontainer/dotnet/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index 8b64ccd766..f669306c87 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,6 +1,6 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet:1.5.5-10.0-bookworm", + "image": "mcr.microsoft.com/devcontainers/dotnet:1.5.4-10.0-preview-trixie", "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, From c0e90795cb21bac7578ca6b22888653ea7a4b0b8 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:33:16 +0000 Subject: [PATCH 07/10] Try noble container --- .devcontainer/dotnet/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index f669306c87..ebed013597 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,6 +1,6 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet:1.5.4-10.0-preview-trixie", + "image": "mcr.microsoft.com/devcontainers/dotnet:1.5.5-10.0-noble", "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, From 295a6d02076c0a50604992721e209732c3e446e8 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:38:26 +0000 Subject: [PATCH 08/10] Try preview image --- .devcontainer/dotnet/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index ebed013597..ee6c586e4c 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,6 +1,6 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet:1.5.5-10.0-noble", + "image": "mcr.microsoft.com/devcontainers/dotnet:10.0-preview", "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, From 57a1ba19a4806d26e19d946e6fb84263f4bef204 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:53:51 +0000 Subject: [PATCH 09/10] Try 2-10.0 --- .devcontainer/dotnet/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index ee6c586e4c..18b31e46c8 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,6 +1,6 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet:10.0-preview", + "image": "mcr.microsoft.com/devcontainers/dotnet:2-10.0", "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, From 56987c1789623de0f30e9018fdf052439ccd4826 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:52:35 +0000 Subject: [PATCH 10/10] Add docker file to work around devcontainer bug --- .devcontainer/dotnet/devcontainer.json | 6 +++++- .devcontainer/dotnet/dotnet.Dockerfile | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/dotnet/dotnet.Dockerfile diff --git a/.devcontainer/dotnet/devcontainer.json b/.devcontainer/dotnet/devcontainer.json index 18b31e46c8..b16fcacd69 100644 --- a/.devcontainer/dotnet/devcontainer.json +++ b/.devcontainer/dotnet/devcontainer.json @@ -1,6 +1,10 @@ { "name": "C# (.NET)", - "image": "mcr.microsoft.com/devcontainers/dotnet:2-10.0", + //"image": "mcr.microsoft.com/devcontainers/dotnet", + // Workaround for https://github.com/devcontainers/images/issues/1752 + "build": { + "dockerfile": "dotnet.Dockerfile" + }, "features": { "ghcr.io/devcontainers/features/dotnet:2.4.2": {}, "ghcr.io/devcontainers/features/powershell:1.5.1": {}, diff --git a/.devcontainer/dotnet/dotnet.Dockerfile b/.devcontainer/dotnet/dotnet.Dockerfile new file mode 100644 index 0000000000..ecf1b14428 --- /dev/null +++ b/.devcontainer/dotnet/dotnet.Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/devcontainers/dotnet + +# Remove Yarn repository with expired GPG key to prevent apt-get update failures +# Tracking issue: https://github.com/devcontainers/images/issues/1752 +RUN rm -f /etc/apt/sources.list.d/yarn.list \ No newline at end of file