Skip to content

Commit

Permalink
Update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjstevens committed Jan 31, 2025
1 parent 5985ab8 commit b076d49
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 68 deletions.
32 changes: 0 additions & 32 deletions .devcontainer/Dockerfile

This file was deleted.

68 changes: 32 additions & 36 deletions .devcontainer/devcontainer.json
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"
}

0 comments on commit b076d49

Please sign in to comment.