devcontainer.json 968 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. {
  5. "name": "carbon-lang",
  6. "build": {
  7. "dockerfile": "../docker/ubuntu2404/base/Dockerfile"
  8. },
  9. "mounts": [
  10. {
  11. "source": "carbon-cache",
  12. "target": "/home/ubuntu/.cache",
  13. "type": "volume"
  14. }
  15. ],
  16. "containerUser": "ubuntu",
  17. "remoteUser": "ubuntu",
  18. // When using devcontainer with podman, you may see /workspace being owned
  19. // by root. To work around this, uncomment the following lines
  20. // "runArgs": [
  21. // "--userns=keep-id"
  22. // ],
  23. "customizations": {
  24. "vscode": {
  25. "extensions": [
  26. "bazelbuild.vscode-bazel",
  27. "bierner.github-markdown-preview",
  28. "daohong-emilio.yash",
  29. "esbenp.prettier-vscode",
  30. "llvm-vs-code-extensions.vscode-clangd",
  31. "ms-python.python"
  32. ]
  33. }
  34. }
  35. }