debug: divide chown and chgrp
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Dominik Meyer 2024-12-26 23:21:12 +01:00
parent ed5680f583
commit 25ccfab708
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -33,8 +33,8 @@ RUN adduser -D -G imapfilter imapfilter
RUN cat /etc/passwd
# ensure a homedirectory for the user exists and has correct access rights
RUN mkdir -p /home/imapfilter
RUN chown imapfilter.imapfilter /home/imapfilter
RUN chown imapfilter /home/imapfilter
RUN chgrp imapfilter /home/imapfilter
# run everything as the imapfilter user
USER imapfilter