more devcontainer fixes

This commit is contained in:
2025-09-05 16:12:15 +02:00
parent 63f44b0137
commit e23d4202c7
2 changed files with 16 additions and 7 deletions

View File

@@ -1,10 +1,14 @@
FROM osrf/ros:jazzy-desktop-full-noble
SHELL [ "/bin/bash" , "-c" ]
RUN apt-get update && apt-get install -y libsecret-1-0 libsecret-1-dev
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
RUN echo "export _colcon_cd_root=/opt/ros/jazzy/" >> ~/.bashrc
RUN echo "export _colcon_cd_root=/opt/ros/jazzy/" >> ~/.bashrc
SHELL [ "/bin/bash" , "-c" ]