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

Update group setting #238

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jmesnil
Copy link
Contributor

@jmesnil jmesnil commented Dec 19, 2024

Set the jboss user's group to 0 so that when the container runs in OpenShift, its user (which would not be jboss) would still belong to the same root group.

This also simplifies the Dockerfile instructions as the installation of WildFly can be done directly by the jboss user (instead of root) and there is no need to change the whole installation ownership to jboss:0 as it will be done automatically.

Set the jboss user's group to 0 so that when the container runs in OpenShift, its user
(which would not be jboss) would still belong to the same root group.

This also simplifies the Dockerfile instructions as the installation of WildFly
can be done directly by the jboss user (instead of root) and there is no need
to change the whole installation ownership to jboss:0 as it will be done automatically.

Signed-off-by: Jeff Mesnil <[email protected]>
@jmesnil
Copy link
Contributor Author

jmesnil commented Dec 19, 2024

@jfdenise could you please review? The key thing is to change the group Id to 0 as we are doing in our builder/runtime images (https://github.com/wildfly/wildfly-cekit-modules/blob/59426a5dff4a116dc901c3b187c41fb44bd85fcb/jboss/container/user/configure.sh#L8)

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.

jboss user doesn't have permission on its home dir
2 participants