-
Notifications
You must be signed in to change notification settings - Fork 404
Expand file tree
/
Copy pathdevcontainer.json
More file actions
85 lines (85 loc) · 2.2 KB
/
Copy pathdevcontainer.json
File metadata and controls
85 lines (85 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"image": "ghcr.io/dfinity/ic-dev@sha256:1fa9ada331eeb070d35a4972395ae8296d07642c03306682a144c5977dbda65c",
"remoteUser": "ubuntu",
"privileged": true,
"runArgs": [
"--hostname",
"devenv-container",
"--network",
"host",
"--cgroupns",
"host",
"--add-host",
"devenv-container:127.0.0.1"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/ic,type=bind",
"workspaceFolder": "/ic",
"initializeCommand": "mkdir -p ~/.aws ~/.ssh ~/.cache/cargo ~/.cache/zig-cache ~/.claude ~/.local/share/fish /tmp/ict_testnets && touch ~/.zsh_history ~/.bash_history",
"postStartCommand": "/ic/ci/container/init.sh",
"containerEnv": {
"CARGO_TARGET_DIR": "/home/ubuntu/.cache/cargo",
"USER": "${localEnv:USER}"
},
"mounts": [
{
"source": "${localEnv:HOME}/.cache",
"target": "/home/ubuntu/.cache",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.cache/zig-cache",
"target": "/tmp/zig-cache",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.ssh",
"target": "/home/ubuntu/.ssh",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.aws",
"target": "/home/ubuntu/.aws",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.claude",
"target": "/home/ubuntu/.claude",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.bash_history",
"target": "/home/ubuntu/.bash_history",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.zsh_history",
"target": "/home/ubuntu/.zsh_history",
"type": "bind"
},
{
"source": "${localEnv:HOME}/.local/share/fish",
"target": "/home/ubuntu/.local/share/fish",
"type": "bind"
}
],
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"vadimcn.vscode-lldb",
"bazelbuild.vscode-bazel",
"stackbuild.bazel-stack-vscode",
"tamasfe.even-better-toml"
],
"settings": {
// Exclude bazel output directories from search
"search.exclude": {
"bazel-bin/": true,
"bazel-ic/": true,
"bazel-out/": true,
"targets/": true
}
}
}
}
}