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-04-09 00:34:36 +00:00
|
|
|
"java.home": "/usr/local/openjdk-8"
|
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-09 00:34:36 +00:00
|
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
|
"remoteUser": "vscode"
|
2019-12-11 05:18:22 +00:00
|
|
|
}
|