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
|
{
"name": "Pantry",
"image": "mcr.microsoft.com/devcontainers/java:17-bullseye",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "none",
"installMaven": "true"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/node:1": {
"version": "latest"
}
},
"mounts": [
// Pass through Maven settings and repository cache
"source=${localEnv:HOME}/.m2,target=/home/vscode/.m2,type=bind,consistency=cached"
],
"customizations": {
"vscode": {
"settings": {
},
"extensions": [
"vscjava.vscode-java-pack",
"redhat.vscode-yaml",
"visualstudioexptteam.vscodeintellicode",
"redhat.fabric8-analytics",
"redhat.vscode-quarkus"
]
}
},
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "mvn compile",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
|