File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-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/ubuntu
3+ {
4+ "name" : " Rust" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " docker.io/ubuntu:rolling" ,
7+
8+ // Features to add to the dev container. More info: https://containers.dev/features.
9+ "features" : {
10+ "ghcr.io/devcontainers/features/rust:1" : {}
11+ },
12+
13+ "customizations" : {
14+ "vscode" : {
15+ "extensions" : [
16+ " fill-labs.dependi" ,
17+ " streetsidesoftware.code-spell-checker" ,
18+ " streetsidesoftware.code-spell-checker-british-english"
19+ ]
20+ }
21+ },
22+
23+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
24+ // "forwardPorts": [],
25+
26+ // Use 'postCreateCommand' to run commands after the container is created.
27+ "postCreateCommand" : " apt-get update && apt-get install -y --no-install-recommends libpulse-dev libasound2-dev libdbus-1-dev pkg-config" ,
28+
29+ "runArgs" : [
30+ " --net=host"
31+ // "--device=/dev/snd",
32+ // "-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native"
33+ // "-v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native",
34+ // "-v ~/.config/pulse/cookie:/root/.config/pulse/cookie"
35+ ]
36+
37+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+ // "remoteUser": "root"
39+ }
You can’t perform that action at this time.
0 commit comments