Skip to content

Commit

Permalink
Added ROS workspace to Dockerfile to check build status
Browse files Browse the repository at this point in the history
  • Loading branch information
suchetanrs committed Sep 14, 2024
1 parent 04be3a3 commit 2f9da34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,7 @@ RUN cd /root/ && sudo chmod +x * && ./vscode_install.sh && rm -rf vscode_install
RUN apt-get update && apt-get install ros-humble-pcl-ros tmux -y
RUN apt-get install ros-humble-nav2-common x11-apps nano -y
COPY ORB_SLAM3 /home/orb/ORB_SLAM3
RUN . /opt/ros/humble/setup.sh && cd /home/orb/ORB_SLAM3 && mkdir build && ./build.sh
RUN . /opt/ros/humble/setup.sh && cd /home/orb/ORB_SLAM3 && mkdir -p build && ./build.sh
COPY orb_slam3_ros2_wrapper /root/colcon_ws/src/orb_slam3_ros2_wrapper
COPY slam_msgs /root/colcon_ws/src/slam_msgs
RUN . /opt/ros/humble/setup.sh && cd /root/colcon_ws/ && colcon build --symlink-install

0 comments on commit 2f9da34

Please sign in to comment.