devcontainer-template.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "id": "java-postgres",
  3. "version": "2.0.0",
  4. "name": "Java & PostgreSQL",
  5. "description": "Develop applications with Java and PostgreSQL. Includes a Java application container and PostgreSQL server.",
  6. "documentationURL": "https://github.com/devcontainers/templates/tree/main/src/java-postgres",
  7. "publisher": "Dev Container Spec Maintainers",
  8. "licenseURL": "https://github.com/devcontainers/templates/blob/main/LICENSE",
  9. "options": {
  10. "imageVariant": {
  11. "type": "string",
  12. "description": "Java version (use -bookworm, or -bullseye variants on local arm64/Apple Silicon):",
  13. "proposals": [
  14. "8-bookworm",
  15. "11-bookworm",
  16. "17-bookworm",
  17. "8-bullseye",
  18. "11-bullseye",
  19. "17-bullseye",
  20. "8-buster",
  21. "11-buster",
  22. "17-buster"
  23. ],
  24. "default": "17-bullseye"
  25. },
  26. "installMaven": {
  27. "type": "boolean",
  28. "description": "Install Maven, a management tool for Java",
  29. "default": "false"
  30. },
  31. "installGradle": {
  32. "type": "boolean",
  33. "description": "Install Gradle, a build automation tool for multi-language software development",
  34. "default": "false"
  35. }
  36. },
  37. "platforms": [
  38. "Java"
  39. ]
  40. }