diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c0b38f2..27bc95b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,25 +3,18 @@ { "name": "Java", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/java:0-17", + "image": "mcr.microsoft.com/devcontainers/java:1-8-bullseye", "features": { "ghcr.io/devcontainers/features/java:1": { "version": "none", "installMaven": "true", - "mavenVersion": "3.8.6", "installGradle": "false" - } - }, - - // Configure tool-specific properties. - "customizations": { - // Configure properties specific to VS Code. - "vscode": { - "settings": {}, - "extensions": [ - "streetsidesoftware.code-spell-checker" - ] + }, + "ghcr.io/devcontainers-contrib/features/ant-sdkman:2": { + "version": "latest", + "jdkVersion": "8", + "jdkDistro": "ms" } } @@ -31,6 +24,9 @@ // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "java -version", + // Configure tool-specific properties. + // "customizations": {}, + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" }