-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 in SRR/franka_ros2 from fix/devcontainer-termi…
…nal-crashing to humble * commit '0c6f824ee6ce122056fcfed5e8040b1a2e76ec9e': fix: devcontainer terminal crashing
- Loading branch information
Showing
3 changed files
with
43 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,34 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "ROS2 Humble", | ||
"dockerComposeFile": "./docker-compose.yml", | ||
"service": "ros2_control", | ||
"workspaceFolder": "/workspaces", | ||
"remoteUser": "user", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"bungcip.better-toml", | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.cmake-tools", | ||
"xaver.clang-format", | ||
"josetr.cmake-language-support-vscode", | ||
"twxs.cmake", | ||
"cheshirekow.cmake-format" | ||
] | ||
} | ||
} | ||
} | ||
"name": "ROS 2 Development Container", | ||
"privileged": true, | ||
"remoteUser": "user", | ||
"dockerComposeFile": "./docker-compose.yml", | ||
"service": "ros2_control", | ||
"workspaceFolder": "/workspaces", | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces,type=bind", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"bungcip.better-toml", | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.cmake-tools", | ||
"xaver.clang-format", | ||
"josetr.cmake-language-support-vscode", | ||
"twxs.cmake", | ||
"cheshirekow.cmake-format" | ||
] | ||
} | ||
}, | ||
"containerEnv": { | ||
"DISPLAY": "unix:0", | ||
"ROS_AUTOMATIC_DISCOVERY_RANGE": "LOCALHOST", | ||
"ROS_DOMAIN_ID": "100" | ||
}, | ||
"mounts": [ | ||
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached", | ||
"source=/dev/dri,target=/dev/dri,type=bind,consistency=cached", | ||
], | ||
"postCreateCommand": "rosdep update && sudo rosdep install --from-paths src --ignore-src -y && sudo chown -R user /workspaces" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters