-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (39 loc) · 1.14 KB
/
Copy pathdevcontainer.json
File metadata and controls
39 lines (39 loc) · 1.14 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
{
"image": "mcr.microsoft.com/devcontainers/rust:2-1-bullseye",
"remoteUser": "vscode",
"updateRemoteUserUID": true,
"features": {
"ghcr.io/devcontainers/features/node:2": {
"version": "lts"
},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/git:1": {
"ppa": true,
"version": "latest"
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"installOhMyZsh": true,
"upgradePackages": true,
"username": "vscode",
"uid": "automatic",
"gid": "automatic"
}
},
"containerEnv": {
"SHELL": "/usr/bin/zsh"
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
}
}
}
},
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y fzf fd-find && npm i -g forgecode && rustup component add clippy rustfmt && cargo install cargo-insta && cargo install cargo-nextest && cargo install ast-grep && chsh -s /usr/bin/zsh"
}