Skip to content

Remove root user from full images and use chown when copying files#524

Merged
leochr merged 1 commit into
mainfrom
removeRootUser
Jul 21, 2023
Merged

Remove root user from full images and use chown when copying files#524
leochr merged 1 commit into
mainfrom
removeRootUser

Conversation

@leochr

@leochr leochr commented Jul 21, 2023

Copy link
Copy Markdown
Member

To address the review comment: #523 (comment)

Remove USER root from the first-stage of UBI Dockerfiles for full image, since the operations don't need root user. Also use chown when copying files (not really necessary I think in this case, but for consistency)

Signed-off-by: Leo Christy Jesuraj <leojc@ca.ibm.com>
@leochr leochr requested a review from mbroz2 July 21, 2023 21:50
@leochr leochr merged commit 6dd8b6c into main Jul 21, 2023
@leochr leochr deleted the removeRootUser branch April 8, 2026 18:53
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.

2 participants