FIX: individualized some steps
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f8806b7639
commit
3e171fc25c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user