42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"build": {
|
|
"dockerfile": "./Dockerfile",
|
|
"context": "."
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/java:1": {
|
|
"version": "none",
|
|
"installGradle": "true",
|
|
"installMaven": "true"
|
|
},
|
|
"ghcr.io/devcontainers/features/node:1": "none",
|
|
"ghcr.io/devcontainers/features/git:1": {
|
|
"version": "latest",
|
|
"ppa": "false"
|
|
},
|
|
"ghcr.io/devcontainers-contrib/features/quarkus-sdkman:2": {}
|
|
},
|
|
"containerEnv": {
|
|
"JAVA_HOME": "/usr/lib/jvm/msopenjdk-current"
|
|
},
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {},
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"vscjava.vscode-java-pack"
|
|
]
|
|
}
|
|
},
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
// "postCreateCommand": "java -version",
|
|
|
|
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode"
|
|
} |