autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
8.58k stars 2.88k forks source link

chore(docker): separate rosdep and colcon RUNs #4718

Closed youtalk closed 1 month ago

youtalk commented 1 month ago

Description

This PR splits the rosdep install and colcon build RUN commands in the prebuilt stage. This slightly increases the size of the prebuilt and devel images, but allows the rosdep install cache to work better when only modifying source code.

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Interface changes

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.