github.com/Azure/aad-pod-identity@v1.8.17/examples/java-blob/.devcontainer/devcontainer.json (about) 1 { 2 "name": "Blob Example", 3 "build": { 4 "dockerfile": "Dockerfile", 5 "args": { 6 "INSTALL_MAVEN": "true", 7 "INSTALL_GRADLE": "false", 8 "INSTALL_NODE": "false", 9 "NODE_VERSION": "lts/*" 10 } 11 }, 12 13 // Set *default* container specific settings.json values on container create. 14 "settings": { 15 "terminal.integrated.shell.linux": "/bin/bash", 16 "java.home": "/docker-java-home", 17 "java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current", 18 "java.configuration.runtimes": [{ 19 "default": true, 20 "name": "JavaSE-1.8", 21 "path": "/usr/local/sdkman/candidates/java/current" 22 }] 23 }, 24 25 // Add the IDs of extensions you want installed when the container is created. 26 "extensions": [ 27 "vscjava.vscode-java-pack" 28 ] 29 30 // Use 'forwardPorts' to make a list of ports inside the container available locally. 31 // "forwardPorts": [], 32 33 // Use 'postCreateCommand' to run commands after the container is created. 34 // "postCreateCommand": "java -version", 35 36 // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. 37 // "remoteUser": "vscode" 38 }