-
Notifications
You must be signed in to change notification settings - Fork 182
Update Dockerfile to use base ROS Humble image #269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Woojin Wie <[email protected]>
There was a problem hiding this 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 ofmoveit/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 thedocker-compose.yml
file.
Changelog
- Dockerfile
- Changed base image from
moveit/moveit2:humble-source
toros: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).
- Changed base image from
- docker-compose.yml
- Removed the
container_name
entry (line 6).
- Removed the
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
-
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. ↩
There was a problem hiding this 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.
@Woojin-Crive You can use a ROBOTIS Docker account. I'll let you know later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good!
@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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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
moveit/moveit2:humble-source
toros:humble
.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
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.