zmk_mf68/.devcontainer/devcontainer.json
innovaker 019f7f5465 feat(devcontainer): add volume mount for root user
Caches VS Code extensions and other profile settings between zmk containers.

Based on advice from KemoNine.

PR: #479
2020-12-14 22:49:28 -05:00

15 lines
458 B
JSON

{
"name": "ZMK Development",
"dockerFile": "Dockerfile",
"runArgs": ["--security-opt", "label=disable"],
"containerEnv": { "WORKSPACE_DIR": "${containerWorkspaceFolder}" },
"mounts": [
"type=volume,source=zmk-root-user,target=/root",
"type=volume,source=zmk-config,target=/workspaces/zmk-config"
],
"extensions": ["ms-vscode.cpptools"],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"forwardPorts": [3000]
}