// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/java { "name": "Pantry", "build": { "dockerfile": "Dockerfile", "args": { "VARIANT": "17-bullseye", "INSTALL_MAVEN": "true", "INSTALL_GRADLE": "false", "NODE_VERSION": "lts/*", "LIQUIBASE_VERSION": "4.14.0" } }, "mounts": [ // Pass through Maven settings and repository cache "source=${localEnv:HOME}/.m2,target=/home/vscode/.m2,type=bind,consistency=cached" ], "customizations": { "vscode": { "settings": { }, "extensions": [ "vscjava.vscode-java-pack", "redhat.vscode-yaml", "visualstudioexptteam.vscodeintellicode", "redhat.fabric8-analytics", "redhat.vscode-quarkus" ] } }, // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "mvn compile", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", "features": { "docker-from-docker": "latest" } }