Files
java/.devcontainer/devcontainer.json

25 lines
674 B
JSON
Raw Normal View History

2019-04-16 20:03:58 -07:00
{
"name": "Java Sample",
"dockerFile": "Dockerfile",
2019-08-26 14:00:04 -07:00
2020-04-09 00:34:36 +00:00
// Set *default* container specific settings.json values on container create.
2019-12-11 05:18:22 +00:00
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
2020-07-30 23:28:53 +08:00
"java.home": "/usr/local/openjdk-11"
2019-08-06 01:08:09 +00:00
},
2020-04-09 00:34:36 +00:00
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vscjava.vscode-java-pack"
],
2019-08-26 14:00:04 -07:00
2020-04-09 00:34:36 +00:00
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
2019-08-26 14:00:04 -07:00
2020-04-09 00:34:36 +00:00
// Use 'postCreateCommand' to run commands after the container is created.
2019-08-26 14:00:04 -07:00
// "postCreateCommand": "java -version",
2020-04-08 17:43:20 -07:00
// Comment out to run as root instead.
2020-04-09 00:34:36 +00:00
"remoteUser": "vscode"
2020-04-08 17:43:20 -07:00
}