From 3e171fc25c20758cedae4a31e14edcdbcab125f8 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 26 Dec 2024 23:17:10 +0100 Subject: [PATCH] FIX: individualized some steps --- Containerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 53764f2..9872696 100644 --- a/Containerfile +++ b/Containerfile @@ -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