25.0.10
Description
This Pull Request is based on #1649 by @dustinblack. As the base PR is in stall, I created new PR to continue development.
Thank you for all contributors in #1649.
Original description:
Description
Updates the Dockerfiles to streamline the container build processes and drastically reduce the size of the final image. Also addresses a couple of related and prerequisite bug fixes and missing > dependencies. Additionally enables build of arm64 containers in the github workflow.
Abstract
The current containers are up to 14GB in size due to a lack of multi-stage builds and the inclusion of all build dependencies in the final containers. This large container size limits the ability to run the simulator containerized on target Automotive platforms. These changes result in final > runtime containers of under 2.5GB in size.
Along with streamlining the Dockerfiles themselves, this PR:
- Adds a .dockerignore file to improve build efficiency
- Ignores an error in the traffic simulator build due to changes in the build dependencies
Fixes a boolean conversion bug when sourcing a scenario from a YAML file (likely duplicates > #1648 and addresses #1646)- Enables the building of arm64 images in the github workflow
Background
Our Red Hat Performance & Scale team is working to use Autoware and the scenario simulator as a sample realistic load driver running on AutoSD and RHIVOS on representative arm64 automotive platforms. The existing available containers are large enough to exhaust the storage available on > these test systems, preventing the running of the simulations on the target environments.
References
Development and testing of these changes was assisted by AI using Gemini Pro 2.5
Destructive Changes
It is possible that not all runtime dependencies are included in the final container for all use cases. I don't have the ability to test this or the insight to know for sure.
Scenario running on Docker (with rocker)
