imap-download: another tweak to user/group

This commit is contained in:
Starbeamrainbowlabs 2021-05-26 01:07:35 +01:00
parent 4c8d6ea9ac
commit 329d94fcca
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -7,7 +7,7 @@ RUN install_packages ca-certificates fetchmail procmail inotify-tools mpack
RUN mkdir /srv/home \ RUN mkdir /srv/home \
&& ln -s /mnt/fetchmailrc /srv/home/.fetchmailrc \ && ln -s /mnt/fetchmailrc /srv/home/.fetchmailrc \
&& mkdir /tmp/maildir \ && mkdir /tmp/maildir \
&& groupmod -g 10000 fetchmail \ && groupadd --gid 10000 fetchmail \
&& usermod --uid 10000 --gid 10000 --home=/srv/home --uid=10000 --gi=10000 fetchmail \ && usermod --uid 10000 --gid 10000 --home=/srv/home --uid=10000 --gi=10000 fetchmail \
&& chown fetchmail:fetchmail /srv/home && chown fetchmail:fetchmail /srv/home