fix: divide chown and chgrp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dominik Meyer 2024-12-26 23:22:43 +01:00
parent 3e171fc25c
commit 36d406ee71
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -31,7 +31,8 @@ RUN addgroup imapfilter
RUN adduser -D -G imapfilter imapfilter
# 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