...
1{
2 "name": "linkerd2",
3 "image": "ghcr.io/linkerd/dev:v43",
4 // "dockerFile": "./Dockerfile",
5 // "context": "..",
6 "features": {
7 "ghcr.io/devcontainers/features/github-cli:1": {}
8 },
9 "customizations": {
10 "vscode": {
11 "extensions": [
12 "DavidAnson.vscode-markdownlint",
13 "golang.go",
14 "kokakiwi.vscode-just",
15 "ms-kubernetes-tools.vscode-kubernetes-tools",
16 "NathanRidley.autotrim",
17 "rust-lang.rust-analyzer",
18 "samverschueren.final-newline",
19 "tamasfe.even-better-toml",
20 "zxh404.vscode-proto3"
21 ],
22 "settings": {
23 "go.lintTool": "golangci-lint",
24 // TODO(ver) Find a way to enforce YAML formatting.
25 // See https://github.com/redhat-developer/vscode-yaml/discussions/839
26 "yaml.format.enable": false
27 }
28 }
29 },
30 "runArgs": [
31 "--init",
32 // Limit container memory usage.
33 "--memory=12g",
34 "--memory-swap=12g",
35 // Use the host network so we can access k3d, etc.
36 "--net=host",
37 // For lldb
38 "--cap-add=SYS_PTRACE",
39 "--security-opt=seccomp=unconfined"
40 ],
41 "overrideCommand": false,
42 "remoteUser": "code",
43 "mounts": [
44 "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"
45 ]
46}
View as plain text