CI-docker-focal: armhf deps ignored to avoid missing package error.

This commit is contained in:
matlabbe
2024-04-10 15:45:20 -07:00
parent e45957e412
commit 0e62d6f91b
+10 -2
View File
@@ -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