-
Notifications
You must be signed in to change notification settings - Fork 58
Prepare for Jazzy upgrade: Improve .docker/Dockerfile to only create users if not already present #9
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
base: main
Are you sure you want to change the base?
Conversation
|
This is a good idea. We're not yet ready to upgrade to jazzy, but the $UID:$GID change is still useful for humble. Maybe you would like to alter this PR to not yet reference jazzy. We'll upgrade to jazzy in coordination with libfranka and frank_ros2. Thank you for the PR anyway. |
|
Hi @Smith-JackSmith . I've "downgraded" to humble as requested. I've tested this configuration with ./scripts/visualize_franka.sh arm_id:=fr3with the pass criterion that RViz is shown and the robot is displayed correctly. |
ulikoehler
left a comment
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.
Fix jazzy packages, use humble
|
@AndreasKuhner Should be fixed now ! |
|
This is what I had in mind. |
Smith-JackSmith
left a comment
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.
Thank you for the PR.
This set of minor changes to the Dockerfile allows using visualize_franka.sh with Jazzy, to avoid incompabitilies in a Jazzy-based setup.
Jazzy has UID/GID 1000 already used by the
ubuntuuser, so I implemented a use existing group or create new group logic, same for the UID. For details, seehttps://techoverflow.net/2025/01/12/shell-logic-how-to-create-user-group-if-no-user-group-with-that-uid-gid-exists/
I only tested scripts/visualize_franka.sh, and only with
arm_id:=fr3. All tests were performed with UID=1000 & GID=1000 on Ubuntu 24.04.