docker: added rosdep install step to make sure all new dependencies are installed for examples

This commit is contained in:
matlabbe
2023-05-06 14:03:56 -07:00
parent 65a8faf78e
commit a4f7afac84
+3
View File
@@ -9,6 +9,9 @@ COPY . catkin_ws/src/rtabmap_ros
RUN source /ros_entrypoint.sh && \
cd catkin_ws && \
apt update && \
rosdep install --from-paths src --ignore-src -y && \
rm -rf /var/lib/apt/lists/* && \
catkin_make -j1 -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic install && \
cd && \
rm -rf catkin_ws