Commit 659ce9e2 authored by xiezhi's avatar xiezhi

multi version support

parent 9c03e836
{
"name": "Java 11 Development Environment",
"image": "hb.eazytec-cloud.com/eazytec/eazydevelop-base:ubuntu",
"features": {
"./java": {
"version": "11",
"installMaven": true
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"upgradePackages": true
}
},
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"vscjava.vscode-maven",
"vscjava.vscode-gradle",
"redhat.java",
"vscjava.vscode-java-debug",
"vscjava.vscode-java-test"
],
"settings": {
"java.home": "/usr/local/openjdk-11",
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic"
}
}
},
"postCreateCommand": "java -version && mvn -version && gradle -version",
"remoteUser": "vscode"
}
{
"name": "Java Development Environment",
"name": "Java 17 Development Environment",
"image": "hb.eazytec-cloud.com/eazytec/eazydevelop-base:ubuntu",
"features": {
"./java": {
"version": "17",
"installMaven": true,
"useChineseMirror": false,
"mirrorSource": "aliyun"
"installMaven": true
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
......
{
"name": "Java 21 Development Environment",
"image": "hb.eazytec-cloud.com/eazytec/eazydevelop-base:ubuntu",
"features": {
"./java": {
"version": "21",
"installMaven": true
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"upgradePackages": true
}
},
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"vscjava.vscode-maven",
"vscjava.vscode-gradle",
"redhat.java",
"vscjava.vscode-java-debug",
"vscjava.vscode-java-test"
],
"settings": {
"java.home": "/usr/local/openjdk-21",
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic"
}
}
},
"postCreateCommand": "java -version && mvn -version && gradle -version",
"remoteUser": "vscode"
}
{
"name": "Java 8 Development Environment",
"image": "hb.eazytec-cloud.com/eazytec/eazydevelop-base:ubuntu",
"features": {
"./java": {
"version": "8",
"installMaven": true
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"upgradePackages": true
}
},
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"vscjava.vscode-maven",
"vscjava.vscode-gradle",
"redhat.java",
"vscjava.vscode-java-debug",
"vscjava.vscode-java-test"
],
"settings": {
"java.home": "/usr/local/openjdk-8",
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic"
}
}
},
"postCreateCommand": "java -version && mvn -version && gradle -version",
"remoteUser": "vscode"
}
fio: file:ioengines.c:135, func=dlopen, error=dlopen(libaio, 0x0001): tried: 'libaio' (no such file), '/System/Volumes/Preboot/Crypt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment