From 8fb5b3a46f760a6309482867de2723a180e7d7bb Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Fri, 29 May 2026 22:38:56 +0000 Subject: [PATCH 1/2] Add devcontainer for Codespaces --- .devcontainer/devcontainer.json | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..d77da6e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,34 @@ +{ + "name": "Azure Search OpenAI Demo", + "image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm", + "features": { + "ghcr.io/devcontainers/features/node:1": { + // This should match the version of Node.js in Github Actions workflows + "version": "22", + "nodeGypDependencies": false + }, + "ghcr.io/devcontainers/features/azure-cli:1.2.5": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/azure/azure-dev/azd:latest": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-azuretools.azure-dev", + "ms-azuretools.vscode-bicep", + "ms-python.python", + "astral-sh.ty", + "esbenp.prettier-vscode", + "DavidAnson.vscode-markdownlint" + ] + } + }, + "forwardPorts": [ + 50505 + ], + "postCreateCommand": "", + "remoteUser": "vscode", + "hostRequirements": { + "memory": "8gb" + } +} \ No newline at end of file From 186fd4f3e61658198b85a08439385d416eb37002 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Fri, 29 May 2026 22:46:08 +0000 Subject: [PATCH 2/2] Simplify the devcontainer --- .devcontainer/devcontainer.json | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d77da6e..71e9dfd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,14 +1,8 @@ { - "name": "Azure Search OpenAI Demo", + "name": "The Claude on Foundry Starter Kit", "image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm", "features": { - "ghcr.io/devcontainers/features/node:1": { - // This should match the version of Node.js in Github Actions workflows - "version": "22", - "nodeGypDependencies": false - }, "ghcr.io/devcontainers/features/azure-cli:1.2.5": {}, - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, "ghcr.io/azure/azure-dev/azd:latest": {} }, "customizations": { @@ -16,19 +10,9 @@ "extensions": [ "ms-azuretools.azure-dev", "ms-azuretools.vscode-bicep", - "ms-python.python", - "astral-sh.ty", - "esbenp.prettier-vscode", - "DavidAnson.vscode-markdownlint" + "ms-python.python" ] } }, - "forwardPorts": [ - 50505 - ], - "postCreateCommand": "", - "remoteUser": "vscode", - "hostRequirements": { - "memory": "8gb" - } + "remoteUser": "vscode" } \ No newline at end of file