This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
Packaged runtime image should not install build tools/dependencies #263
Labels
enhancement
New feature or request
Description
The runtime image created by
PackageRuntimeImageStage
currently uses the build/sysroot environment as the base layer. This means that the build tools and build dependencies are installed in this runtime, taking up extra space that is not needed when deploying the built application.Related Issues
N/A
Completion Criteria
Implementation Notes / Suggestions
This will likely need to be implemented as two independent upgrades
run_depends
in the rosdep collection to create an even more minimal sysroot. Currently runningrosdep install
does not differentiate between the types of dependenciesTesting Notes / Suggestions
This will be an optimization, we can view the uploaded metrics (via Action artifacts) to see if an implementation makes the size of the runtime image decrease over the baseline value on
master
. This probably does not require a dedicated automated test.The text was updated successfully, but these errors were encountered: