Skip to content

Commit 86232b4

Browse files
committed
fix dev container
1 parent ea9acc5 commit 86232b4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,12 @@
1414
]
1515
}
1616
},
17-
"postCreateCommand": "./build/postsetup.sh && P=~/.local/share/bash-completion/completions && mkdir -p $P && rustup completions bash > $P/rustup && rustup completions bash cargo > $P/cargo"
17+
"runArgs": [
18+
"--security-opt",
19+
"label=disable"
20+
],
21+
"mounts": [
22+
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,readonly"
23+
],
24+
"postCreateCommand": "bash ./build/postsetup.sh && P=~/.local/share/bash-completion/completions && mkdir -p $P && rustup completions bash > $P/rustup && rustup completions bash cargo > $P/cargo"
1825
}

0 commit comments

Comments
 (0)