|
| 1 | +{ |
| 2 | + "name": "genai-database-explorer", |
| 3 | + "image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-jammy", |
| 4 | + "workspaceFolder": "/workspaces/genai-database-explorer", |
| 5 | + "onCreateCommand": "bash ./.devcontainer/on-setup.sh", |
| 6 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/azure-cli:1": { |
| 9 | + "version": "latest" |
| 10 | + }, |
| 11 | + "ghcr.io/devcontainers/features/dotnet:2": { |
| 12 | + "version": "8.0", |
| 13 | + "dotnetRuntimeVersions": "8.0", |
| 14 | + "aspNetCoreRuntimeVersions": "8.0" |
| 15 | + }, |
| 16 | + "ghcr.io/devcontainers/features/powershell:1": { |
| 17 | + "version": "latest" |
| 18 | + }, |
| 19 | + "ghcr.io/devcontainers/features/git:1": { |
| 20 | + "version": "latest" |
| 21 | + }, |
| 22 | + "ghcr.io/devcontainers/features/github-cli:1": { |
| 23 | + "version": "latest" |
| 24 | + }, |
| 25 | + "ghcr.io/devcontainers/features/node:1": { |
| 26 | + "version": "lts", |
| 27 | + "nodeGypDependencies": true |
| 28 | + }, |
| 29 | + "ghcr.io/devcontainers/features/docker-in-docker:2": { |
| 30 | + "version": "latest", |
| 31 | + "enableNonRootDocker": "true" |
| 32 | + } |
| 33 | + }, |
| 34 | + // Configure tool-specific properties. |
| 35 | + "customizations": { |
| 36 | + // Configure properties specific to VS Code. |
| 37 | + "vscode": { |
| 38 | + "settings": { |
| 39 | + "dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true, |
| 40 | + "dotnet.inlayHints.enableInlayHintsForParameters": true, |
| 41 | + "dotnet.inlayHints.enableInlayHintsForLiteralParameters": true, |
| 42 | + "dotnet.inlayHints.enableInlayHintsForIndexerParameters": true, |
| 43 | + "dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": true, |
| 44 | + "dotnet.inlayHints.enableInlayHintsForOtherParameters": true, |
| 45 | + "dotnet.inlayHints.enableInlayHintsForTypes": true, |
| 46 | + "dotnet.inlayHints.enableInlayHintsForImplicitVariableTypes": true, |
| 47 | + "dotnet.inlayHints.enableInlayHintsForImplicitObjectCreation": true, |
| 48 | + "dotnet.preferCSharpExtension": true, |
| 49 | + "bicep.experimental.deployments.enabled": true, |
| 50 | + "bicep.suppressedWarnings": [], |
| 51 | + "files.associations": { |
| 52 | + "*.bicep": "bicep" |
| 53 | + } |
| 54 | + }, |
| 55 | + "extensions": [ |
| 56 | + // .NET and C# Development |
| 57 | + "ms-dotnettools.csharp", |
| 58 | + "ms-dotnettools.csdevkit", |
| 59 | + "ms-dotnettools.vscode-dotnet-runtime", |
| 60 | + |
| 61 | + // Azure Development |
| 62 | + "ms-azuretools.vscode-bicep", |
| 63 | + "ms-azuretools.azure-dev", |
| 64 | + "ms-vscode.azurecli", |
| 65 | + "ms-azuretools.vscode-docker", |
| 66 | + "ms-azuretools.vscode-azureresourcegroups", |
| 67 | + "ms-azuretools.vscode-azurefunctions", |
| 68 | + "ms-azuretools.vscode-azureappservice", |
| 69 | + "ms-azuretools.vscode-azurestorage", |
| 70 | + "ms-azuretools.vscode-cosmosdb", |
| 71 | + "ms-vscode.vscode-node-azure-pack", |
| 72 | + |
| 73 | + // GitHub and DevOps |
| 74 | + "GitHub.copilot", |
| 75 | + "GitHub.copilot-chat", |
| 76 | + "GitHub.vscode-github-actions", |
| 77 | + "GitHub.vscode-pull-request-github", |
| 78 | + |
| 79 | + // AI and Semantic Kernel |
| 80 | + "ms-semantic-kernel.semantic-kernel", |
| 81 | + "ms-toolsai.jupyter", |
| 82 | + "ms-python.python", |
| 83 | + |
| 84 | + // Development Tools |
| 85 | + "ms-vscode.powershell", |
| 86 | + "ms-vscode-remote.remote-containers", |
| 87 | + "redhat.vscode-yaml", |
| 88 | + "ms-vscode.vscode-json", |
| 89 | + "bradlc.vscode-tailwindcss", |
| 90 | + "esbenp.prettier-vscode", |
| 91 | + "ms-vsliveshare.vsliveshare" |
| 92 | + ] |
| 93 | + } |
| 94 | + }, |
| 95 | + |
| 96 | + // Add additional configuration |
| 97 | + "remoteUser": "vscode", |
| 98 | + "postCreateCommand": "dotnet restore", |
| 99 | + "forwardPorts": [5000, 5001, 7071], |
| 100 | + "portsAttributes": { |
| 101 | + "5000": { |
| 102 | + "label": "HTTP", |
| 103 | + "protocol": "http" |
| 104 | + }, |
| 105 | + "5001": { |
| 106 | + "label": "HTTPS", |
| 107 | + "protocol": "https" |
| 108 | + }, |
| 109 | + "7071": { |
| 110 | + "label": "Azure Functions", |
| 111 | + "protocol": "http" |
| 112 | + } |
| 113 | + } |
| 114 | + } |
0 commit comments