fix default user
This commit is contained in:
1 parent
f4b1378f96
commit
63f44b0137
2 files changed
+3
-1
No files matched your search
+2
-1
@@ -2,7 +2,8 @@ FROM osrf/ros:jazzy-desktop-full-noble
|
||||
|
||||
SHELL [ "/bin/bash" , "-c" ]
|
||||
|
||||
# Add sourcing ROS setup.bash to .bashrc
|
||||
USER ubuntu
|
||||
|
||||
RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc
|
||||
RUN echo "source /usr/share/colcon_cd/function/colcon_cd.sh" >> ~/.bashrc
|
||||
RUN echo "source /usr/share/colcon_argcomplete/hook/colcon-argcomplete.bash" >> ~/.bashrc
|
||||
|
||||
Reference in new issue
Block a user