File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed
Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 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:1-1-bullseye" ,
7+
8+ // Features to add to the dev container. More info: https://containers.dev/features.
9+ // "features": {},
10+
11+ // Configure tool-specific properties.
12+ "customizations" : {
13+ // Configure properties specific to VS Code.
14+ "vscode" : {
15+ "settings" : {},
16+ "extensions" : [" streetsidesoftware.code-spell-checker" ]
17+ }
18+ }
19+
20+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
21+ // "forwardPorts": [],
22+
23+ // Use 'postCreateCommand' to run commands after the container is created.
24+ // "postCreateCommand": "rustc --version",
25+
26+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
27+ // "remoteUser": "root"
28+ }
Original file line number Diff line number Diff line change 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:1-1-bullseye" ,
7+
8+ // Features to add to the dev container. More info: https://containers.dev/features.
9+ // "features": {},
10+
11+ // Configure tool-specific properties.
12+ "customizations" : {
13+ // Configure properties specific to VS Code.
14+ "vscode" : {
15+ "settings" : {},
16+ "extensions" : [" streetsidesoftware.code-spell-checker" ]
17+ }
18+ }
19+
20+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
21+ // "forwardPorts": [],
22+
23+ // Use 'postCreateCommand' to run commands after the container is created.
24+ // "postCreateCommand": "rustc --version",
25+
26+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
27+ // "remoteUser": "root"
28+ }
Original file line number Diff line number Diff line change 1+ # Scratch Directory
2+
3+ This is an example directory you can use after cloning the repository to work through the examples. It contains a ` devcontainer ` configuration for running the code inside a Rust compatible docker container.
You can’t perform that action at this time.
0 commit comments