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: