Files
rtabmap/docker/noble-kilted/Dockerfile
T

25 lines
712 B
Docker
Raw Normal View History

# Image: introlab3it/rtabmap:noble-kilted
FROM introlab3it/rtabmap:noble-kilted-deps
# Will be used to read/store databases on host
RUN mkdir -p /root/Documents/RTAB-Map && chmod 777 /root/Documents/RTAB-Map
# Copy current source code
COPY . /root/rtabmap
2026-09-21 19:22:11 -07:00
ARG RUN_TESTS=0
# Build RTAB-Map project
RUN source /ros_entrypoint.sh && \
cd rtabmap/build && \
2026-09-21 19:22:11 -07:00
cmake -DWITH_OPENGV=ON -DBUILD_TESTING=$RUN_TESTS .. && \
make -j4 && \
2026-09-22 08:24:53 -07:00
# ldconfig first: source-installed deps (GTSAM) are not yet in the loader cache.
if [ "$RUN_TESTS" = "1" ]; then ldconfig && ctest --output-on-failure -LE "long|performance"; fi && \
make install && \
cd ../.. && \
rm -rf rtabmap && \
ldconfig