30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/cpp
|
||
|
{
|
||
|
"name": "bicycle-statistics",
|
||
|
"image": "bic-dev:latest",
|
||
|
|
||
|
// --network=host is necessary, since default docker network does not transport mdns|dns-sd, since they route through docker0
|
||
|
// "runArgs": [ "--network=host", "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
|
||
|
|
||
|
// Set *default* container specific settings.json values on container create.
|
||
|
"settings": {
|
||
|
"terminal.integrated.defaultProfile.linux.shell":"/bin/sh"
|
||
|
},
|
||
|
|
||
|
// Add the IDs of extensions you want installed when the container is created.
|
||
|
// "extensions": [
|
||
|
// "ms-vscode.cpptools"
|
||
|
// ],
|
||
|
|
||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||
|
// "forwardPorts": [],
|
||
|
|
||
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||
|
// "postCreateCommand": "gcc -v",
|
||
|
|
||
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||
|
// "remoteUser": "vscode",
|
||
|
|
||
|
// "postStartCommand" : "sudo rm /var/run/avahi-daemon/pid; sudo avahi-daemon --no-drop-root --no-chroot -D || true",
|
||
|
}
|