-
Notifications
You must be signed in to change notification settings - Fork 339
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
Rootless docker image #790
base: develop
Are you sure you want to change the base?
Conversation
I'm late on this one! Thanks for your patience;) |
Just tested, lgtm |
Thanks @AlessandroSpallina, also plugin dependencies? Also, what happens if I update the cat with the new docker image, and all plugins are under root from the previous version. If that is breacking, either we wait for v2 or a manual |
I can confirm that by updating the container from a previous version, there are errors on the volumes permissions (because the contents remain
I'm sorry @dave90 we need to wait for v2 to merge this. Please leave it here open as it is useful! |
I tested it with the dietician plugin (sqlalchemy dependency) and I saw no errors so I felt everything was ok, but now I just installed a bunch of other plugins and I see errors:
Sorry for my early "lgtm" |
Description
Updates Dockerfile to improve container security by introducing non-root user configurations.
Parameterization of User and Group IDs: build-time arguments (USER_ONBUILD, UID_ONBUILD, GROUP_ONBUILD, GID_ONBUILD) to dynamically set the user ID (UID) and group ID (GID) along with the corresponding user and group names.
User and Group Creation: creation of a non-root user (USER_ONBUILD) and group (GROUP_ONBUILD) with the specified UID and GID
Directory Ownership: The ownership of the /app directory is changed to the newly created non-root user and group
Related to issue #765
Type of change
Checklist: