From 0e62d6f91b0b55f2be8f6c4f8162d6e95319cf3a Mon Sep 17 00:00:00 2001 From: matlabbe Date: Wed, 10 Apr 2024 15:45:20 -0700 Subject: [PATCH] CI-docker-focal: armhf deps ignored to avoid missing package error. --- docker/noetic/latest/Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docker/noetic/latest/Dockerfile b/docker/noetic/latest/Dockerfile index 523dab67..8291752b 100644 --- a/docker/noetic/latest/Dockerfile +++ b/docker/noetic/latest/Dockerfile @@ -7,7 +7,15 @@ RUN source /ros_entrypoint.sh && \ COPY . catkin_ws/src/rtabmap_ros -RUN source /ros_entrypoint.sh && \ +RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ + source /ros_entrypoint.sh && \ + cd catkin_ws && \ + catkin_make -j1 -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic install && \ + cd && \ + rm -rf catkin_ws ;fi + +RUN if [ "$TARGETPLATFORM" != "linux/arm/v7" ]; then \ + source /ros_entrypoint.sh && \ cd catkin_ws && \ apt update && \ rosdep install --from-paths src --ignore-src -y && \ @@ -15,4 +23,4 @@ RUN source /ros_entrypoint.sh && \ apt-get clean && 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 + rm -rf catkin_ws ;fi