devcontainer.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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 16",
  6. "image": "jianboy/flutter-dev-container:3.7.7",
  7. "settings": {
  8. "java.home": "/docker-java-home",
  9. "java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current",
  10. "java.configuration.runtimes": [{
  11. "default": true,
  12. "name": "JavaSE-11",
  13. "path": "/usr/local/sdkman/candidates/java/current"
  14. }]
  15. },
  16. "extensions": [
  17. // "vscjava.vscode-java-pack",
  18. "dart-code.dart-code",
  19. "dart-code.flutter"
  20. ],
  21. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  22. // "forwardPorts": [],
  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. }