docker: set -j1 on latest

This commit is contained in:
matlabbe
2023-01-24 09:50:33 -08:00
parent 3ea6e1dfd6
commit 1d478580b5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ COPY . ros2_ws/src/rtabmap_ros
RUN source /ros_entrypoint.sh && \
cd ros2_ws && \
export MAKEFLAGS="-j$(nproc)" && \
export MAKEFLAGS="-j1" && \
colcon build --event-handlers console_direct+ --install-base /opt/ros/foxy --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
cd && \
rm -rf ros2_ws
+1 -1
View File
@@ -8,7 +8,7 @@ COPY . ros2_ws/src/rtabmap_ros
RUN source /ros_entrypoint.sh && \
cd ros2_ws && \
export MAKEFLAGS="-j$(nproc)" && \
export MAKEFLAGS="-j1" && \
colcon build --event-handlers console_direct+ --install-base /opt/ros/humble --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
cd && \
rm -rf ros2_ws