-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5985ab8
commit b076d49
Showing
2 changed files
with
32 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,42 @@ | ||
// 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.224.2/containers/java-8 | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu | ||
{ | ||
"name": "Java 8", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye | ||
// Use bullseye when running on local arm64/Apple Silicon. | ||
"VARIANT": "bullseye", | ||
// Options | ||
"INSTALL_MAVEN": "false", | ||
"INSTALL_GRADLE": "true", | ||
"NODE_VERSION": "12" | ||
"name": "Apollo", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/base:jammy", | ||
"features": { | ||
"ghcr.io/devcontainers-extra/features/gradle-sdkman:2": { | ||
"version": "2.11", | ||
"jdkVersion": "8", | ||
"jdkDistro": "tem" | ||
}, | ||
"ghcr.io/devcontainers-extra/features/grails-sdkman:2": { | ||
"version": "2.5.5", | ||
"jdkVersion": "8", | ||
"jdkDistro": "tem" | ||
}, | ||
"ghcr.io/devcontainers-extra/features/groovy-sdkman:2": { | ||
"version": "latest", | ||
"jdkVersion": "8", | ||
"jdkDistro": "tem" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"version": "12" | ||
} | ||
}, | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"java.jdt.java.ls.home": "/docker-java-home", | ||
"java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current", | ||
"java.configuration.runtimes": [{ | ||
"default": true, | ||
"name": "JavaSE-1.8", | ||
"path": "/usr/local/sdkman/candidates/java/current" | ||
}] | ||
}, | ||
} | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"vscjava.vscode-java-pack" | ||
], | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// 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": "pipx install apollo", | ||
// "postCreateCommand": "uname -a", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
"features": { | ||
"git": "os-provided", | ||
"python": "os-provided" | ||
} | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |