Skip to content

Commit

Permalink
Added iron dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Aug 5, 2023
1 parent aaac47a commit 5759469
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/iron/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM osrf/ros:iron-desktop
# install rtabmap packages
ARG CACHE_DATE=2016-01-01
RUN apt-get update && apt-get install -y \
ros-iron-rtabmap \
ros-iron-rtabmap-ros \
&& rm -rf /var/lib/apt/lists/
19 changes: 19 additions & 0 deletions docker/iron/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM introlab3it/rtabmap:jammy-iron

RUN apt-get update && apt-get install -y \
ros-iron-pcl-ros \
&& rm -rf /var/lib/apt/lists/

RUN source /ros_entrypoint.sh && \
mkdir -p ros2_ws/src && \
cd ros2_ws/src

COPY . ros2_ws/src/rtabmap_ros

RUN source /ros_entrypoint.sh && \
cd ros2_ws && \
export MAKEFLAGS="-j1" && \
apt update && apt install -y ros-iron-pcl-ros && \
colcon build --event-handlers console_direct+ --install-base /opt/ros/iron --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
cd && \
rm -rf ros2_ws

0 comments on commit 5759469

Please sign in to comment.