-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdevcontainer.json
More file actions
59 lines (59 loc) · 2.04 KB
/
Copy pathdevcontainer.json
File metadata and controls
59 lines (59 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "Java 21 Maven, Python & MCP Server Development Environment",
"image": "mcr.microsoft.com/devcontainers/java:1-21",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "none",
"installMaven": "true",
"mavenVersion": "3.8.6",
"installGradle": "false"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/go:1": {
"version": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"redhat.java",
"vscjava.vscode-maven",
"esbenp.prettier-vscode",
"ms-python.python",
"ms-python.pylint",
"ms-python.flake8",
"streetsidesoftware.code-spell-checker",
"ms-azuretools.vscode-docker",
"GitHub.copilot",
"GitHub.copilot-chat"
],
"settings": {
"editor.formatOnSave": true,
"java.configuration.runtimes": [
{
"name": "JavaSE-21",
"path": "/usr/lib/jvm/java-21-openjdk"
}
],
"java.import.gradle.enabled": false,
"java.import.maven.enabled": true,
"maven.executable.path": "/usr/bin/mvn",
"python.defaultInterpreterPath": "/usr/local/bin/python3",
"python.formatting.provider": "black"
}
}
},
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=delegated",
"runArgs": [
"--health-cmd=mvn --version --timeout=5s --interval=10s --retries=3"
],
"onCreateCommand": "mvn initialize",
"postCreateCommand": "([ -d github-mcp-server ] || git clone https://github.com/github/github-mcp-server.git); cd github-mcp-server && go build -o cmd/github-mcp-server/github-mcp-server ./cmd/github-mcp-server; pip install --upgrade pip && pip install black flake8 pytest requests"
}