Files
java/.devcontainer/devcontainer.json
2020-04-08 17:43:20 -07:00

25 lines
673 B
JSON

{
"name": "Java Sample",
"dockerFile": "Dockerfile",
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"java.home": "/usr/local/openjdk-8"
},
// 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",
// Comment out to run as root instead.
"remoteUser": "vscode"
}