X Tutup
{ "name": "Java", "build": { "dockerfile": "Dockerfile", "args": { // Update the VARIANT arg to pick a Java version >= 17 "VARIANT": "17", // Options to install Maven or Gradle "INSTALL_MAVEN": "true", "MAVEN_VERSION": "3.6.3", "MAVEN_DOWNLOAD_SHA": "c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0", "INSTALL_GRADLE": "true", "GRADLE_VERSION": "5.4.1", "GRADLE_DOWNLOAD_SHA": "7bdbad1e4f54f13c8a78abc00c26d44dd8709d4aedb704d913fb1bb78ac025dc", "INSTALL_NODE": "false", "NODE_VERSION": "lts/*" } }, // 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" ] // 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", // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. // "remoteUser": "vscode" }
X Tutup