Repository navigation
Expand file tree
/
Copy pathdevcontainer.json
More file actions
50 lines (50 loc) · 2.12 KB
/
Copy pathdevcontainer.json
File metadata and controls
50 lines (50 loc) · 2.12 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
{
"name": "Rust",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/rust:latest",
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
// "mounts": [
// {
// "source": "devcontainer-cargo-cache-${devcontainerId}",
// "target": "/usr/local/cargo",
// "type": "volume"
// }
// ]
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
// Install Node.js.
"ghcr.io/devcontainers/features/node:latest": {},
// Add the GitHub CLI as a feature (to support the CodeChat Editor).
"ghcr.io/devcontainers/features/github-cli:1": {},
// Include Chrome for browser testing. Note: this installs the binary
// as `/usr/local/bin/chrome`; postCreateCommand.sh symlinks it to
// `google-chrome` so Selenium Manager can find it.
"ghcr.io/kreemer/features/chrometesting:1": {}
},
// Run this script after the container is created.
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
// Run this script each time the container is started.
"postStartCommand": "./.devcontainer/postStartCommand.sh",
// Configure tool-specific properties.
"customizations": {
"codespaces": {
"openFiles": [
"README.md"
]
},
"vscode": {
"settings": {
// Use the local build of the CodeChat Editor, instead of the one packaged with the
// VSCode extension.
"CodeChatEditor.Server.Command": "/workspaces/CodeChat_Editor/server/target/debug/codechat-editor-server"
},
"extensions": [
"codechat.codechat-editor-client"
]
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}