Open
Conversation
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
The Ubuntu 24.04 base image ships with a user named ubuntu as uid 1000, unlike the older images. This interferes with our User-based licenses so delete and recreate the user to match the older name/behaviour. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
e6c40da to
c34b342
Compare
| # Add user | ||
| RUN useradd -m user | ||
| # Remove the ubuntu(uid:1000) user and add our own - this matches the behaviour of older | ||
| # Ubuntu base images and is required for User-based licenses to work. |
Contributor
There was a problem hiding this comment.
What matters for the license? The user name, the UID, or both?
Contributor
Author
There was a problem hiding this comment.
AFAIU the username.
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.
The Ubuntu 24.04 base image ships with a user named ubuntu as uid 1000, unlike
the older images.
This interferes with our User-based licenses, which was the cause of the failures produced by the arm-compilers image.
CI run: