devcontainer.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. /* For format details, see https://aka.ms/devcontainer.json. For config options, see the
  3. * README at: https://github.com/devcontainers/templates/tree/main/src/debian
  4. */
  5. "name": "Debian",
  6. "build": {
  7. "cacheFrom": "ghcr.io/kamailio/kamailio-master-devcontainer",
  8. "context": "../pkg/kamailio/deb",
  9. "dockerfile": "Dockerfile"
  10. },
  11. // Features to add to the dev container. More info: https://containers.dev/features.
  12. "features": {
  13. "ghcr.io/wxw-matt/devcontainer-features/command_runner:0": {},
  14. "ghcr.io/devcontainers/features/github-cli:1": {}
  15. },
  16. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  17. "forwardPorts": [
  18. 5060
  19. ],
  20. // Configure tool-specific properties.
  21. "customizations": {
  22. "vscode": {
  23. "settings": {},
  24. "extensions": [
  25. "ms-vscode.cpptools-extension-pack",
  26. "GitHub.vscode-github-actions",
  27. "eamodio.gitlens",
  28. "xaver.clang-format",
  29. "cheshirekow.cmake-format",
  30. "brobeson.vscode-cmake-lint"
  31. ]
  32. }
  33. },
  34. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  35. "remoteUser": "root"
  36. }