devcontainer.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // java8 + android env
  2. // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
  3. // https://github.com/microsoft/vscode-dev-containers/tree/v0.233.0/containers/java-8
  4. {
  5. "name": "Java 8",
  6. "build": {
  7. "dockerfile": "Dockerfile",
  8. "args": {
  9. // Use the VARIANT arg to pick a Debian OS version: buster, bullseye
  10. // Use bullseye when running on local arm64/Apple Silicon.
  11. "VARIANT": "buster"
  12. // Options
  13. }
  14. },
  15. // Set *default* container specific settings.json values on container create.
  16. "settings": {
  17. },
  18. // Add the IDs of extensions you want installed when the container is created.
  19. "extensions": [
  20. ],
  21. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  22. "forwardPorts": [8787],
  23. // Use 'postCreateCommand' to run commands after the container is created.
  24. // "postCreateCommand": "java -version",
  25. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
  26. "remoteUser": "vscode",
  27. "features": {
  28. "docker-in-docker": "latest"
  29. }
  30. }