Currently, we rely on Debian to pick a UID and GID for daemon users. However, those numbers can change as software evolves over time, in particular as the base distribution changes. Because those IDs are relevant in the data volume, which has a lifetime independent from the daemon container, it is important that they don't change. Other projects have run into this issue over the years too, this is not a purely theoretical concern. This patch fixes the UID/GIDs for the daemon users to their current values, to prevent problems in the future. See https://github.com/albertito/chasquid/pull/72 for further discussion. Amended-by: Alberto Bertogli <albertito@blitiri.com.ar> Adjusted commit message, formatted RUN command line, changed the dovecot group ID to match the previous value.
3.1 KiB
3.1 KiB