-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
35 lines (35 loc) · 954 Bytes
/
devcontainer.json
File metadata and controls
35 lines (35 loc) · 954 Bytes
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
{
"name": "deco",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"mounts": [
"source=${localWorkspaceFolder}/target,target=/workspaces/deco/target,type=bind"
],
"containerEnv": {
"CARGO_HOME": "/usr/local/cargo",
"RUSTUP_HOME": "/usr/local/rustup"
},
"remoteUser": "vscode",
"workspaceFolder": "/workspaces/deco",
"postCreateCommand": "rustup component add clippy rustfmt && cargo install just cross --locked",
"customizations": {
"vscode": {
"settings": {
"files.insertFinalNewline": true,
"rust-analyzer.check.command": "clippy"
},
"extensions": [
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"ms-azuretools.vscode-docker",
"github.vscode-github-actions"
]
}
}
}