-
-
Notifications
You must be signed in to change notification settings - Fork 175
Closed
Description
Describe the bug
In OpenShift the user id is pseudorandom but the current openam docker image only works with the certain user id.
The group id in Openshift is always 0.
The actual error is
13-Jun-2025 07:57:50.320 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/openam]
java.io.IOException: Unable to create the directory [/usr/local/tomcat/webapps/openam]
Could you add group write permissions in the docker image files ?
To fix, add for example group write to all files that are writable by the default user:
RUN find / -uid $(id -u) -exec chgrp root {} \; ; \
find / -uid $(id -u) -perm /u+w -exec chmod g+w {} \; ; true
The same problem exists with opendj and openidm.
To Reproduce
Add random user to end of Dockerfile, rebuild and run.
Metadata
Metadata
Assignees
Labels
No labels