N64FlashcartMenu/.devcontainer/devcontainer.json
2023-02-27 03:29:36 +00:00

34 lines
1.2 KiB
JSON

{
"name": "N64FlashcartMenu",
// If you prefer, you can use the source files and adjust them they are located, with the same names in ./sources. This will alow you to customize them and add anything you may need on top.
"dockerFile": "Dockerfile",
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--privileged"
],
"context": ".",
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
// Keep command history
"source=nano-bashhistory,target=/home/vscode/commandhistory,type=volume",
// Could this handle USB?
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb"
//"type=bind,source=/dev,target=/dev"
],
"customizations": {
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-vsliveshare.vsliveshare-pack",
"streetsidesoftware.code-spell-checker",
"ms-vscode.makefile-tools"
]
}
}
}