FIX: individualized some steps
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominik Meyer 2024-12-26 23:17:10 +01:00
parent f8806b7639
commit 3e171fc25c
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -27,9 +27,11 @@ ADD scripts/entryPoint.sh /entryPoint.sh
RUN chmod +x /entryPoint.sh
# add a user for running imapfilter in the container
RUN addgroup imapfilter && adduser -D -G imapfilter imapfilter
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 && chown imapfilter.imapfilter /home/imapfilter
RUN mkdir -p /home/imapfilter
RUN chown imapfilter.imapfilter /home/imapfilter
# run everything as the imapfilter user
USER imapfilter