-
Notifications
You must be signed in to change notification settings - Fork 37
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
Can't run share image as non root #2287
Comments
@EmmanuelOgiji - Have you been able to find a solution yet? |
@shazChaudhry Kind of, I ended up writing my own dockerfile to create a new user and basically give it read write permissions on the tomcat dir. It seems to work well enough |
@EmmanuelOgiji - Sounds wonderful :) |
For those looking for a solution, here is my take on the Dockerfile:
And in your deployment yaml for the share component, add a pod security context:
|
The alfresco share docker image runs as root which is not ideal. Could there at least be a list of permissions or commands needed to create a custom image that can run as a non root user similar to other Alfresco images.
The text was updated successfully, but these errors were encountered: