From c0d84963849be1dd3a2bf551bd1e29a070051a1a Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:58:43 +0000 Subject: [PATCH 1/5] Dev container update --- .devcontainer/devcontainer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8181e0b65496..a73cef25e49b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,7 @@ { - "image": "mcr.microsoft.com/devcontainers/universal:2", + "image": "mcr.microsoft.com/devcontainers/universal:latest", "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, "ghcr.io/devcontainers/features/node:1": {}, "ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {}, "ghcr.io/devcontainers/features/github-cli:1": { @@ -12,7 +13,6 @@ "ghcr.io/azure/azure-dev/azd:0": { "version": "latest" }, - "ghcr.io/devcontainers/features/common-utils:2": {}, "ghcr.io/devcontainers/features/dotnet:2": { "version": "none", "dotnetRuntimeVersions": "10.0", @@ -23,6 +23,8 @@ "customizations": { "vscode": { "extensions": [ + "GitHub.copilot", + "GitHub.vscode-github-actions", "ms-dotnettools.dotnet-interactive-vscode", "ms-semantic-kernel.semantic-kernel", "esbenp.prettier-vscode" From 962492340ee6cf4460422b9bae355c94807f12db Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:04:35 +0000 Subject: [PATCH 2/5] Remove docker feature --- .devcontainer/devcontainer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a73cef25e49b..e0afcf0ee12a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,6 @@ { "image": "mcr.microsoft.com/devcontainers/universal:latest", "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, "ghcr.io/devcontainers/features/node:1": {}, "ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {}, "ghcr.io/devcontainers/features/github-cli:1": { From 9f392413af04a71595389e03c1c5d524f64274f1 Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:20:30 +0000 Subject: [PATCH 3/5] Installing tool as a post script. --- .devcontainer/devcontainer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e0afcf0ee12a..ddc8f52c676c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,6 @@ "image": "mcr.microsoft.com/devcontainers/universal:latest", "features": { "ghcr.io/devcontainers/features/node:1": {}, - "ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {}, "ghcr.io/devcontainers/features/github-cli:1": { "version": "2" }, @@ -30,5 +29,5 @@ ] } }, - "postCreateCommand": "sudo chmod a+rwx /usr/share/dotnet" // avoids needing to run as 'sudo' when starting KernelHttpServer + "postCreateCommand": "sudo chmod a+rwx /usr/share/dotnet && sudo apt-get update && sudo apt-get install -y azure-functions-core-tools-4" // avoids needing to run as 'sudo' when starting KernelHttpServer } \ No newline at end of file From ff2f3007280774813b992f3ad275abbdc44b4914 Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:41:44 +0000 Subject: [PATCH 4/5] Fix postCreateCommand failure due to expired Yarn GPG key The Yarn apt repository's GPG signing key (23E7166788B63E1E) has expired, causing apt-get update to fail and break the postCreateCommand chain. This fix temporarily disables the Yarn repository during apt-get update, installs azure-functions-core-tools-4, then restores the Yarn config so it remains available for future use. --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ddc8f52c676c..3e0edce9a5a3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -29,5 +29,5 @@ ] } }, - "postCreateCommand": "sudo chmod a+rwx /usr/share/dotnet && sudo apt-get update && sudo apt-get install -y azure-functions-core-tools-4" // avoids needing to run as 'sudo' when starting KernelHttpServer + "postCreateCommand": "sudo chmod a+rwx /usr/share/dotnet && sudo mv /etc/apt/sources.list.d/yarn.list /etc/apt/sources.list.d/yarn.list.disabled && sudo apt-get update && sudo apt-get install -y azure-functions-core-tools-4 && sudo mv /etc/apt/sources.list.d/yarn.list.disabled /etc/apt/sources.list.d/yarn.list" // avoids needing to run as 'sudo' when starting KernelHttpServer } \ No newline at end of file From 53a56d2bec32f2bd70b550b78828b5b70a11670e Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:57:39 +0000 Subject: [PATCH 5/5] Attempt to use AF dockerfile approach --- .devcontainer/devcontainer.json | 9 +++++++-- .devcontainer/sk.Dockerfile | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .devcontainer/sk.Dockerfile diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3e0edce9a5a3..cb8c61080af6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,12 @@ { - "image": "mcr.microsoft.com/devcontainers/universal:latest", + //"image": "mcr.microsoft.com/devcontainers/universal:latest", + // Workaround for https://github.com/devcontainers/images/issues/1752 + "build": { + "dockerfile": "sk.Dockerfile" + }, "features": { "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {}, "ghcr.io/devcontainers/features/github-cli:1": { "version": "2" }, @@ -29,5 +34,5 @@ ] } }, - "postCreateCommand": "sudo chmod a+rwx /usr/share/dotnet && sudo mv /etc/apt/sources.list.d/yarn.list /etc/apt/sources.list.d/yarn.list.disabled && sudo apt-get update && sudo apt-get install -y azure-functions-core-tools-4 && sudo mv /etc/apt/sources.list.d/yarn.list.disabled /etc/apt/sources.list.d/yarn.list" // avoids needing to run as 'sudo' when starting KernelHttpServer + "postCreateCommand": "sudo chmod a+rwx /usr/share/dotnet" // avoids needing to run as 'sudo' when starting KernelHttpServer } \ No newline at end of file diff --git a/.devcontainer/sk.Dockerfile b/.devcontainer/sk.Dockerfile new file mode 100644 index 000000000000..344e4ee8130f --- /dev/null +++ b/.devcontainer/sk.Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/devcontainers/universal:latest + +# 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