File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ RUN bash -c "source /opt/ros/jazzy/setup.bash && \
7676 rosdep update && \
7777 rosdep install --from-paths src --ignore-src -r -y || true" && \
7878 bash -c "source /opt/ros/jazzy/setup.bash && \
79- colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF"
79+ MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF"
8080
8181# Setup environment
8282RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ RUN bash -c "source /opt/ros/jazzy/setup.bash && \
5757 rosdep update && \
5858 rosdep install --from-paths src --ignore-src -r -y \
5959 --skip-keys='ament_cmake_clang_format ament_cmake_clang_tidy test_msgs example_interfaces sqlite3' && \
60- colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF"
60+ MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF"
6161
6262# Setup environment
6363RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN bash -c "source /opt/ros/jazzy/setup.bash && \
5858 rosdep update && \
5959 rosdep install --from-paths src --ignore-src -r -y \
6060 --skip-keys='ament_cmake_clang_format ament_cmake_clang_tidy test_msgs example_interfaces sqlite3' && \
61- colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF"
61+ MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF"
6262
6363# Setup environment
6464RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ WORKDIR ${COLCON_WS}
7878RUN bash -c "source /opt/ros/jazzy/setup.bash && \
7979 rosdep update && \
8080 rosdep install --from-paths src --ignore-src -r -y && \
81- colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF"
81+ MAKEFLAGS='-j 2' colcon build --executor sequential --symlink-install --cmake-args -DBUILD_TESTING=OFF"
8282
8383# Setup environment
8484RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \
You can’t perform that action at this time.
0 commit comments