mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
CI-docker-focal: armhf deps ignored to avoid missing package error.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user