feat(docker): add RHEL 9 (AlmaLinux 9) Docker build support#6988
Draft
youtalk wants to merge 5 commits intoautowarefoundation:mainfrom
Draft
feat(docker): add RHEL 9 (AlmaLinux 9) Docker build support#6988youtalk wants to merge 5 commits intoautowarefoundation:mainfrom
youtalk wants to merge 5 commits intoautowarefoundation:mainfrom
Conversation
Add Dockerfile.rhel and supporting scripts to build Autoware on AlmaLinux 9 (RHEL 9 compatible) without CUDA. The RHEL binary provides ros-base equivalent (371 packages); missing ROS packages are built from source via rhel-extra-deps.repos. Key changes: - Multi-stage Dockerfile.rhel (16 stages) with BuildKit parallel builds - build_and_clean_rhel.sh: 3-pass colcon build with RHEL-specific patches (M_PIf, Boost 1.75 compat, CUDA COLCON_IGNORE) - resolve_rosdep_keys_rhel.sh: rosdep resolution with --os=rhel:9 - Runtime stages (core, universe) with gosu-based UID/GID remapping - README-rhel.md documenting the build procedure Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
youtalk
commented
Apr 8, 2026
youtalk
commented
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
Dockerfile.rheland supporting scripts to build Autoware on AlmaLinux 9 (RHEL 9 compatible) without CUDA.The ROS 2 Jazzy RHEL 9 binary provides ros-base equivalent (371 packages). Missing ROS packages (diagnostic_updater, geographic_msgs, pcl_ros, lanelet2_core, grid_map, filters, etc.) are built from source via
rhel-extra-deps.repos.Key changes
docker/Dockerfile.rhel: Multi-stage Dockerfile (16 stages) with BuildKit parallel buildsdocker/scripts/build_and_clean_rhel.sh: 3-pass colcon build with RHEL-specific patches (M_PIf, Boost 1.75, CUDA COLCON_IGNORE)docker/scripts/resolve_rosdep_keys_rhel.sh: rosdep resolution with --os=rhel:9docker/rhel-extra-deps.repos: VCS manifest of 37 ROS packages not in RHEL binarydocker/README-rhel.md: Build procedure documentationImage sizes
How was this PR tested?