imap-download: usermod/groupmod fixes
This commit is contained in:
parent
ec583792d3
commit
4c8d6ea9ac
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ RUN install_packages ca-certificates fetchmail procmail inotify-tools mpack
|
|||
RUN mkdir /srv/home \
|
||||
&& ln -s /mnt/fetchmailrc /srv/home/.fetchmailrc \
|
||||
&& mkdir /tmp/maildir \
|
||||
&& useradd --system --home=/srv/home --uid=10000 --gid=10000 fetchmail
|
||||
&& groupmod -g 10000 fetchmail \
|
||||
&& usermod --uid 10000 --gid 10000 --home=/srv/home --uid=10000 --gi=10000 fetchmail \
|
||||
&& chown fetchmail:fetchmail /srv/home
|
||||
|
||||
ENV HOME /srv/home
|
||||
|
||||
|
|
Loading…
Reference in a new issue