Skip to content

Conversation

Woojin-Crive
Copy link
Member

Description

This pull request updates the Dockerfile to use the base ROS Humble image and adds support for the ARM64 architecture. These changes improve compatibility across different hardware platforms and ensure a more maintainable development environment.

Summary of Changes

  • Dockerfile Update:
    • Changed the base image from moveit/moveit2:humble-source to ros:humble.
    • Adjusted package installations to match dependencies required for ROS Humble.
    • Added support for the ARM64 architecture, enabling the project to run on ARM-based systems.

Motivation

Expanding support to ARM64 architecture allows the project to run on a wider range of devices, including ARM-based development boards and embedded systems.

Testing & Validation

  • Local Testing:
    The updated Docker image was successfully built on both x86_64 and ARM64 architectures. All existing functionalities were verified to work correctly across different hardware platforms.

Request for Review

Please review the changes and provide any feedback or suggestions. Your input is valuable to ensure that this update integrates smoothly with the existing development workflow.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Woojin-Crive, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the Dockerfile to use the base ROS Humble image instead of the moveit/moveit2:humble-source image. It also adds ros-${ROS_DISTRO}-moveit to the list of packages to be installed. Additionally, it removes the sourcing of /root/ws_moveit/install/setup.bash from the build process and .bashrc. Finally, it removes the explicit container name from the docker-compose.yml file. The stated intent is to improve compatibility across different hardware platforms, including ARM64 architecture, and ensure a more maintainable development environment.

Highlights

  • Base Image Update: The Dockerfile now uses ros:humble as the base image instead of moveit/moveit2:humble-source.
  • Package Installation: Added ros-${ROS_DISTRO}-moveit to the list of packages installed in the Dockerfile.
  • Workspace Configuration: Removed sourcing of /root/ws_moveit/install/setup.bash from the Dockerfile and .bashrc.
  • Docker Compose Update: Removed the container_name from the docker-compose.yml file.

Changelog

  • Dockerfile
    • Changed base image from moveit/moveit2:humble-source to ros:humble (line 2).
    • Added ros-${ROS_DISTRO}-moveit to the list of installed packages (line 12).
    • Removed sourcing of /root/ws_moveit/install/setup.bash (lines 25 and 30).
  • docker-compose.yml
    • Removed the container_name entry (line 6).
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


A Dockerfile's gentle hand,
To build an image, understand.
From base it starts, with layers stacked,
A container's fate, precisely tracked.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dockerfile to use the base ROS Humble image and adds support for the ARM64 architecture. The changes seem reasonable and improve compatibility across different hardware platforms. However, there are a few areas that could be improved for clarity and maintainability.

Merge Readiness

The pull request is almost ready for merging. The changes are well-structured and address the intended goal of updating the Dockerfile for ROS Humble and ARM64 support. I am unable to directly approve this pull request, and recommend that others review and approve this code before merging. There are no CRITICAL or HIGH severity issues, but addressing the MEDIUM severity issues would improve the overall quality of the code.

@robotpilot robotpilot added the enhancement New feature or request label Mar 4, 2025
@github-project-automation github-project-automation bot moved this to 🌱 Todo in Platform Mar 4, 2025
@robotpilot robotpilot moved this from 🌱 Todo to 📝 Pull Request in Platform Mar 4, 2025
@robotpilot robotpilot requested review from yun-goon and sunghowoo March 4, 2025 22:03
@robotpilot
Copy link
Member

@Woojin-Crive You can use a ROBOTIS Docker account. I'll let you know later.
https://hub.docker.com/orgs/robotis/

Copy link
Member

@yun-goon yun-goon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

@Woojin-Crive
Copy link
Member Author

@Woojin-Crive You can use a ROBOTIS Docker account. I'll let you know later. https://hub.docker.com/orgs/robotis/

@robotpilot Okay! If I receive access to a ROBOTIS Docker account, I will create a Docker image, upload it to Docker Hub, and update the image reference in the docker-compose.yml file accordingly.

Copy link
Member

@sunghowoo sunghowoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robotpilot robotpilot assigned robotpilot and unassigned sunghowoo Mar 12, 2025
@robotpilot robotpilot merged commit 6320719 into main Mar 12, 2025
1 check passed
@robotpilot robotpilot deleted the feature-docker-support-arm branch March 12, 2025 02:58
@github-project-automation github-project-automation bot moved this from 📝 Pull Request to 🚩Done in Platform Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants