N64FlashcartMenu/.devcontainer/devcontainer.json

34 lines
1.2 KiB
JSON
Raw Normal View History

2023-02-27 00:14:51 +01:00
{
2023-02-27 01:48:22 +01:00
"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",
2023-02-27 04:29:36 +01:00
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--privileged"
],
2023-02-27 01:48:22 +01:00
"context": ".",
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
// Keep command history
2023-02-27 04:29:36 +01:00
"source=nano-bashhistory,target=/home/vscode/commandhistory,type=volume",
2023-02-27 01:48:22 +01:00
// Could this handle USB?
2023-02-27 04:29:36 +01:00
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb"
//"type=bind,source=/dev,target=/dev"
2023-02-27 01:48:22 +01:00
],
"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"
]
}
}
2023-02-27 00:14:51 +01:00
}