Update to 0.134.0 definition

This commit is contained in:
Chuck Lantz
2020-08-11 12:57:47 -07:00
parent 0bb66f183a
commit 1c8fd2a940
7 changed files with 487 additions and 77 deletions

View File

@@ -1,27 +1,40 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/java
{
"name": "Java Sample",
"dockerFile": "Dockerfile",
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"java.home": "/usr/lib/jvm/zulu-8-azure-amd64"
"name": "Java",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a Java version >= 11
"VARIANT": "11",
// Options to install Maven or Gradle
"INSTALL_MAVEN": "true",
"MAVEN_VERSION": "3.6.3",
"INSTALL_GRADLE": "false",
"GRADLE_VERSION": "5.4.1",
"INSTALL_NODE": "false",
"NODE_VERSION": "lts/*"
}
},
// Use 'appPort' to create a container with published ports. If the port isn't working, be sure
// your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost.
// "appPort": [],
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"java.home": "/docker-java-home"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vscjava.vscode-java-pack"
],
// Uncomment the next line to run commands after the container is created.
// 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 the next line to run as root
"remoteUser": "vscode",
"remoteUser": "vscode"
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"vscjava.vscode-java-pack"
]
}
}