|
6 | 6 | "dockerfile": "Dockerfile" |
7 | 7 | }, |
8 | 8 | "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], |
| 9 | + "containerEnv": { |
| 10 | + // Workaround for "client version X is too new. Maximum supported API version is 1.43" |
| 11 | + "DOCKER_API_VERSION": "1.43" |
| 12 | + }, |
9 | 13 |
|
10 | 14 | // Configure tool-specific properties. |
11 | 15 | "customizations": { |
|
15 | 19 | "settings": { |
16 | 20 | "go.toolsManagement.checkForUpdates": "local", |
17 | 21 | "go.useLanguageServer": true, |
18 | | - "go.gopath": "/go" |
| 22 | + "go.gopath": "/go", |
| 23 | + "github.copilot.chat.githubMcpServer.enabled": true, |
| 24 | + "github.copilot.chat.githubMcpServer.toolsets": [ |
| 25 | + "default", // https://github.com/github/github-mcp-server/blob/main/README.md#default-toolset |
| 26 | + "actions" |
| 27 | + ] |
19 | 28 | }, |
20 | 29 |
|
21 | 30 | // Add the IDs of extensions you want installed when the container is created. |
|
30 | 39 | "GitHub.vscode-pull-request-github", |
31 | 40 | "jinliming2.vscode-go-template", |
32 | 41 | "tekumara.typos-vscode", |
33 | | - "github.vscode-github-actions" |
34 | | - ] |
| 42 | + "github.vscode-github-actions", |
| 43 | + "GitHub.copilot-chat", |
| 44 | + "ms-azuretools.vscode-azure-github-copilot" // also adds MCP server and Azure resources |
| 45 | + ], |
| 46 | + "mcp": { |
| 47 | + "servers": { |
| 48 | + // Azure MCP server - installed via extension |
| 49 | + // GitHub MCP server - via GitHub Copilot Chat built-in |
| 50 | + "deepwiki": { |
| 51 | + "type": "http", |
| 52 | + "url": "https://mcp.deepwiki.com/mcp" |
| 53 | + } |
| 54 | + // codewiki.google does not have MCP server, can just use web access |
| 55 | + } |
| 56 | + } |
35 | 57 | } |
36 | 58 | }, |
37 | 59 |
|
|
61 | 83 | "version": "none" |
62 | 84 | }, |
63 | 85 | "ghcr.io/devcontainers/features/node:1": { |
64 | | - "version": "none" |
| 86 | + "version": "latest" // mostly for MCP servers |
65 | 87 | }, |
66 | 88 | "ghcr.io/devcontainers/features/git:1": { |
67 | 89 | "version": "latest", |
|
74 | 96 | "ghcr.io/devcontainers/features/azure-cli:1": {}, |
75 | 97 | "ghcr.io/devcontainers-extra/features/pre-commit:2": {}, |
76 | 98 | "ghcr.io/CargoSense/devcontainer-features/shellcheck:1": {}, |
77 | | - "ghcr.io/rio/features/skaffold:2": { "version": "v2.14.2" } |
| 99 | + "ghcr.io/rio/features/skaffold:2": { "version": "v2.14.2" }, |
| 100 | + // agent tools |
| 101 | + "ghcr.io/devcontainers-extra/features/ripgrep:1": {}, |
| 102 | + "ghcr.io/devcontainers/features/github-cli:1": {} |
78 | 103 | } |
79 | 104 | } |
0 commit comments