Skip to content

Commit

Permalink
CI-docker-focal: armhf deps ignored to avoid missing package error.
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Apr 10, 2024
1 parent e45957e commit 0e62d6f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docker/noetic/latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ 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 && \
apt remove ros-$ROS_DISTRO-rtabmap* -y && \
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

0 comments on commit 0e62d6f

Please sign in to comment.