-
Notifications
You must be signed in to change notification settings - Fork 289
Expand file tree
/
Copy pathdevcontainer.json
More file actions
44 lines (44 loc) · 1.3 KB
/
devcontainer.json
File metadata and controls
44 lines (44 loc) · 1.3 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
{
"name": "Generative AI Java Development Environment",
"image": "mcr.microsoft.com/devcontainers/java:21",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": false,
"upgradePackages": false
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
"version": "latest"
},
"ghcr.io/azure/azure-dev/azd:0": {
"version": "stable"
},
"sshd": "latest"
},
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"vscjava.vscode-spring-initializr",
"vscjava.vscode-spring-boot-dashboard",
"github.copilot"
],
"settings": {
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic",
"java.completion.enabled": true,
"java.format.enabled": true,
"java.saveActions.organizeImports": true,
"spring-boot.ls.java.home": "/usr/lib/jvm/msopenjdk-current"
}
}
},
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y maven",
"remoteUser": "vscode",
"containerEnv": {
"JAVA_HOME": "/usr/lib/jvm/msopenjdk-current",
"MAVEN_OPTS": "-Xmx2g"
},
"forwardPorts": [8080]
}