Skip to content

Commit 835840d

Browse files
committed
Add Dev container
1 parent ba43f59 commit 835840d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
3+
{
4+
"name": "Rust",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/rust:0-1-bullseye",
7+
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
8+
// "mounts": [
9+
// {
10+
// "source": "devcontainer-cargo-cache-${devcontainerId}",
11+
// "target": "/usr/local/cargo",
12+
// "type": "volume"
13+
// }
14+
// ]
15+
// Features to add to the dev container. More info: https://containers.dev/features.
16+
// "features": {},
17+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18+
// "forwardPorts": [],
19+
// Use 'postCreateCommand' to run commands after the container is created.
20+
"postCreateCommand": "cargo install just",
21+
// Configure tool-specific properties.
22+
// "customizations": {},
23+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
24+
// "remoteUser": "root"
25+
}

0 commit comments

Comments
 (0)