Skip to content
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

Delete any existing UID user in Dockerfile #1061

Merged
merged 4 commits into from
Oct 14, 2024

Conversation

rkent
Copy link
Contributor

@rkent rkent commented Jul 12, 2024

Fixes #1060

As discussed in issue, delete any existing user in a Dockerfile before adding the buildfarm user. This is needed because Docker ubuntu:noble now adds an 'ubuntu' user with UID=1000, which is a common UID for users running scripts.

I only tested with gen_doc_script, but I changed it in all other occurrences.

Copy link
Member

@tfoote tfoote left a comment

Choose a reason for hiding this comment

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

Looks good, with one suggestion for optimizing.

@cottsay cottsay merged commit 15a8d9f into ros-infrastructure:master Oct 14, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User scripts with rolling (ubuntu noble) fail from existing UID=1000
4 participants