aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2024-02-27 12:43:15 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2024-02-27 12:43:15 +0000
commitb5e7a1d7d2adb3670824d726573cc08157a02b69 (patch)
treefa2f8f00435468a36e6705cd696648991b599d89 /.devcontainer/devcontainer.json
parenta398252b0dfe3c112e5643104aaf22c411a15b1d (diff)
downloadnoetic-llama-b5e7a1d7d2adb3670824d726573cc08157a02b69.tar.gz
noetic-llama-b5e7a1d7d2adb3670824d726573cc08157a02b69.zip
Added the ROS servicecall API
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..53bcc43
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,56 @@
+{
+ "name": "noetic-llama devcontainer",
+ "dockerFile": "Dockerfile",
+ "runArgs": [
+ "--privileged",
+ "--network=host",
+ "-v=/dev:/dev",
+ "--privileged",
+ "--runtime=nvidia",
+ "--device-cgroup-rule" "a *:* rmw",
+ "--cap-add=SYS_PTRACE",
+ "--security-opt=seccomp:unconfined",
+ "--security-opt=apparmor:unconfined",
+ "--volume=/tmp/.X11-unix:/tmp/.X11-unix",
+ "--volume=/home/agilex/.Xauthority:/home/ros/.Xauthority",
+ "--gpus=all",
+ "--env-file","apikeys.env"
+ ],
+ "containerEnv": {
+ "DISPLAY": ":0",
+ "LIBGL_ALWAYS_SOFTWARE": "1" // Needed for software rendering of opengl
+ },
+ "workspaceMount": "source=${localWorkspaceFolder},target=/${localWorkspaceFolderBasename},type=bind",
+ "workspaceFolder": "/${localWorkspaceFolderBasename}",
+ "mounts": [
+ "source=${localEnv:HOME}${localEnv:USERPROFILE}/.bash_history,target=/home/vscode/.bash_history,type=bind"
+ ],
+ "features": {
+ "ghcr.io/devcontainers/features/python:1": {}
+ },
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "dotjoshjohnson.xml",
+ "zachflower.uncrustify",
+ "ms-azuretools.vscode-docker",
+ "ms-iot.vscode-ros",
+ "ms-python.python",
+ "ms-vscode.cpptools",
+ "redhat.vscode-yaml",
+ "smilerobotics.urdf",
+ "streetsidesoftware.code-spell-checker",
+ "twxs.cmake",
+ "yzhang.markdown-all-in-one"
+ ]
+ },
+ "settings": {
+ "terminal.integrated.profiles.linux": {
+ "bash": {
+ "path": "bash"
+ }
+ },
+ "terminal.integrated.defaultProfile.linux": "bash"
+ }
+ }
+}