ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If you're doing all of this in the Dockerfile it's recommended to run everything as root.
There's no point in changing the user to pi
then using sudo
to run the command with super user privlages. You only want to drop into the pi
user shortly before you finish the Dockerfile and provide the entrypoint.