fix: pin myuser UID/GID to 990 to prevent drift#288
Open
janbuchar wants to merge 1 commit into
Open
Conversation
The myuser account was created with `groupadd -r` and `useradd -r` which auto-assign system IDs counting downward from 999. When base images add or remove system users, the auto-assigned ID shifts, breaking persistent volume mounts that depend on a stable UID/GID. Pin both UID and GID to 990 across all 6 affected Dockerfiles. - closes #287
d810771 to
e402744
Compare
vladfrangu
requested changes
Apr 24, 2026
Member
vladfrangu
left a comment
There was a problem hiding this comment.
There's a bunch more images that need this 🙏
Contributor
Author
Right, but only these 6 create |
Member
|
At least from a quick glance all images make myuser |
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.
Pin
myuserUID and GID to990in all 6 Node.js Dockerfiles that create this userPreviously,
groupadd -r/useradd -rauto-assigned system IDs that could shift between builds when base images add/remove system users (e.g.messagebus)This caused silent permission breakage on persistent volume mounts
closes Floating UID and GID in Dockerfile #287