File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-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-bookworm" ,
7+ "customizations" : {
8+ "vscode" : {
9+ "extensions" : [
10+ " foxundermoon.shell-format" ,
11+ " streetsidesoftware.code-spell-checker"
12+ ]
13+ }
14+ },
15+
16+ // Use 'mounts' to make the cargo cache persistent in a Docker Volume.
17+ // "mounts": [
18+ // {
19+ // "source": "devcontainer-cargo-cache-${devcontainerId}",
20+ // "target": "/usr/local/cargo",
21+ // "type": "volume"
22+ // }
23+ // ]
24+
25+ // Features to add to the dev container. More info: https://containers.dev/features.
26+ // "features": {},
27+
28+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
29+ // "forwardPorts": [],
30+
31+ // Use 'postCreateCommand' to run commands after the container is created.
32+ "postCreateCommand" : " ./.devcontainer/postCreateCommand.sh"
33+
34+ // Configure tool-specific properties.
35+ // "customizations": {},
36+
37+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+ // "remoteUser": "root"
39+ }
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ sudo apt update && sudo apt install -y --no-install-recommends \
4+ clang
You can’t perform that action at this time.
0 commit comments