fix file access problems

This commit is contained in:
2025-09-05 16:22:30 +02:00
parent f4b1378f96
commit 0385d27787
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ FROM osrf/ros:jazzy-desktop-full-noble
SHELL [ "/bin/bash" , "-c" ]
USER ubuntu
# Add sourcing ROS setup.bash to .bashrc
RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc
RUN echo "source /usr/share/colcon_cd/function/colcon_cd.sh" >> ~/.bashrc

View File

@@ -3,6 +3,7 @@
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "ubuntu",
"runArgs": [
// "--cap-add=SYS_PTRACE", // Allows the container to trace processes using ptrace system call
// "--security-opt=seccomp=unconfined", // Disables seccomp security profiles for the container