2022-12-23 08:30:58 -06:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
|
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/java
|
2019-04-16 20:03:58 -07:00
|
|
|
{
|
2020-08-11 12:57:47 -07:00
|
|
|
"name": "Java",
|
2022-12-23 08:30:58 -06:00
|
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
|
|
|
"image": "mcr.microsoft.com/devcontainers/java:0-17",
|
|
|
|
|
|
|
|
|
|
"features": {
|
|
|
|
|
"ghcr.io/devcontainers/features/java:1": {
|
|
|
|
|
"version": "none",
|
|
|
|
|
"installMaven": "true",
|
|
|
|
|
"mavenVersion": "3.8.6",
|
|
|
|
|
"installGradle": "false"
|
2020-08-11 12:57:47 -07:00
|
|
|
}
|
|
|
|
|
},
|
2022-12-23 08:30:58 -06:00
|
|
|
|
2022-05-17 12:41:48 -07:00
|
|
|
// Configure tool-specific properties.
|
|
|
|
|
"customizations": {
|
|
|
|
|
// Configure properties specific to VS Code.
|
|
|
|
|
"vscode": {
|
2022-12-23 08:30:58 -06:00
|
|
|
"settings": {},
|
2022-05-17 12:41:48 -07:00
|
|
|
"extensions": [
|
2022-12-23 08:30:58 -06:00
|
|
|
"streetsidesoftware.code-spell-checker"
|
2022-05-17 12:41:48 -07:00
|
|
|
]
|
|
|
|
|
}
|
2022-12-23 08:30:58 -06:00
|
|
|
}
|
2022-05-10 17:30:16 +02:00
|
|
|
|
2020-08-11 12:57:47 -07:00
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
|
// "forwardPorts": [],
|
2019-08-26 14:00:04 -07:00
|
|
|
|
2020-08-11 12:57:47 -07:00
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
2019-08-26 14:00:04 -07:00
|
|
|
// "postCreateCommand": "java -version",
|
|
|
|
|
|
2022-12-23 08:30:58 -06:00
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
|
|
|
// "remoteUser": "root"
|
2020-08-11 12:57:47 -07:00
|
|
|
}
|