-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
51 lines (51 loc) · 2 KB
/
devcontainer.json
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
{
// This devcontainer configuration was created by 5pecia1
"name": "spring-boot",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers-contrib/features/tomcat-sdkman:2": {
"version": "8.5.94",
"jdkVersion": "8",
"jdkDistro": "amzn"
},
"ghcr.io/devcontainers/features/java:1": {
"version": "8",
"jdkDistro": "amzn",
"installMaven": true
},
"ghcr.io/devcontainers-contrib/features/kotlin-sdkman:2": {
"version": "1.9.24",
"jdkVersion": "11",
"jdkDistro": "amzn"
},
"ghcr.io/devcontainers-contrib/features/wireguard-apt-get:1": {}
},
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh/wg0.conf,target=/home/vscode/.ssh/wg0.conf,type=bind,consistency=cached"
],
"postCreateCommand": "/bin/bash -c 'echo \"source /workspaces/boot-project/.devcontainer/setting.sh\" >> /home/vscode/.bashrc' && /bin/bash /workspaces/boot-project/.devcontainer/setup.sh",
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"redhat.fabric8-analytics",
"vmware.vscode-boot-dev-pack",
"vscjava.vscode-gradle",
"vscjava.vscode-lombok",
"redhat.vscode-xml",
"mtxr.sqltools",
"mtxr.sqltools-driver-mysql",
"shengchen.vscode-checkstyle",
"fwcd.kotlin",
"daplf.vscode-java-kotlin"
],
"settings": {
"java.jdt.ls.java.home": "/usr/local/sdkman/candidates/java/current",
"java.checkstyle.configuration": "${workspaceFolder}/checkstyle.xml",
"java.checkstyle.version": "9.3",
"kotlin.java.home": "/usr/local/sdkman/candidates/java/11",
"kotlin.codegen.enabled": true
}
}
}
}