ros2aria/.devcontainer/devcontainer.json
2021-04-16 12:37:09 +00:00

43 lines
1.3 KiB
JSON

// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
// "dockerFile": "../Dockerfile.devcontainer",
// "build": {
// "args": {
// "WORKSPACE": "${containerWorkspaceFolder}"
// }
// },
"image": "irth7/ros2aria-dev",
"remoteUser": "ros",
"runArgs": [
"--network=host",
"--cap-add=SYS_PTRACE",
"--security-opt=seccomp:unconfined",
"--security-opt=apparmor:unconfined",
"--volume=/tmp/.X11-unix:/tmp/.X11-unix"
// "--device=/dev/ttyS0"
],
"containerEnv": {
"DISPLAY": "${localEnv:DISPLAY}"
},
// "workspaceFolder": "/ws",
// "workspaceMount": "source=/home/lab1_5/ros2aria_ws,target=/ws,type=bind,consistency=delegated",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"mounts": [
"source=ros2aria-dev-bashhistory,target=/commandhistory,type=volume",
],
"extensions": [
"dotjoshjohnson.xml",
"laurenttreguier.uncrustify",
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-iot.vscode-ros",
"ms-vscode.cpptools",
"redhat.vscode-yaml",
"smilerobotics.urdf",
"streetsidesoftware.code-spell-checker",
"twxs.cmake",
"yzhang.markdown-all-in-one"
]
}