mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-09-15 07:40:20 +08:00
15 lines
438 B
Docker
15 lines
438 B
Docker
FROM introlab3it/rtabmap:22.04
|
|
|
|
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" && \
|
|
colcon build --event-handlers console_direct+ --install-base /opt/ros/humble --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
|
|
cd && \
|
|
rm -rf ros2_ws
|