diff --git a/demos/moveit_pick_place/Dockerfile b/demos/moveit_pick_place/Dockerfile index b88e6ab..d6c41aa 100644 --- a/demos/moveit_pick_place/Dockerfile +++ b/demos/moveit_pick_place/Dockerfile @@ -76,7 +76,7 @@ RUN bash -c "source /opt/ros/jazzy/setup.bash && \ rosdep update && \ rosdep install --from-paths src --ignore-src -r -y || true" && \ bash -c "source /opt/ros/jazzy/setup.bash && \ - colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF" + MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF" # Setup environment RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \ diff --git a/demos/multi_ecu_aggregation/Dockerfile b/demos/multi_ecu_aggregation/Dockerfile index 0d39be7..e0d8fa9 100644 --- a/demos/multi_ecu_aggregation/Dockerfile +++ b/demos/multi_ecu_aggregation/Dockerfile @@ -57,7 +57,7 @@ RUN bash -c "source /opt/ros/jazzy/setup.bash && \ rosdep update && \ rosdep install --from-paths src --ignore-src -r -y \ --skip-keys='ament_cmake_clang_format ament_cmake_clang_tidy test_msgs example_interfaces sqlite3' && \ - colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF" + MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF" # Setup environment RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \ diff --git a/demos/sensor_diagnostics/Dockerfile b/demos/sensor_diagnostics/Dockerfile index 1e432ff..f6037ce 100644 --- a/demos/sensor_diagnostics/Dockerfile +++ b/demos/sensor_diagnostics/Dockerfile @@ -58,7 +58,7 @@ RUN bash -c "source /opt/ros/jazzy/setup.bash && \ rosdep update && \ rosdep install --from-paths src --ignore-src -r -y \ --skip-keys='ament_cmake_clang_format ament_cmake_clang_tidy test_msgs example_interfaces sqlite3' && \ - colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF" + MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF" # Setup environment RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \ diff --git a/demos/turtlebot3_integration/Dockerfile b/demos/turtlebot3_integration/Dockerfile index b1ce696..bc85bc1 100644 --- a/demos/turtlebot3_integration/Dockerfile +++ b/demos/turtlebot3_integration/Dockerfile @@ -78,7 +78,7 @@ WORKDIR ${COLCON_WS} RUN bash -c "source /opt/ros/jazzy/setup.bash && \ rosdep update && \ rosdep install --from-paths src --ignore-src -r -y && \ - colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF" + MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF" # Setup environment RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \