-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (34 loc) · 1.04 KB
/
devcontainer.json
File metadata and controls
39 lines (34 loc) · 1.04 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
// For more info on the configuration below, check out the link:
// https://code.visualstudio.com/docs/devcontainers/create-dev-container
{
"name": "Hyperlight",
"image": "ghcr.io/hyperlight-dev/hyperlight-devcontainer:latest",
"containerUser": "vscode",
// Environment for the container also used by the `postCreateCommand`
"containerEnv": {
"DEVICE": "/dev/kvm",
"REMOTE_USER": "vscode",
"REMOTE_GROUP": "vscode"
},
"runArgs": [
"--device=/dev/kvm"
],
// use `postStartCommand` for additional setup commands
// this is run after the container is created and the user has been added
"postStartCommand": "bash .devcontainer/setup.sh",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cmake-tools",
"rust-lang.rust-analyzer",
"vadimcn.vscode-lldb"
],
"settings": {
"rust-analyzer.rustfmt.extraArgs": [
"+nightly" // required for rustfmt.toml which uses nightly features
]
}
}
}
}