From 02da95230612c5ae7a31587b31eca7a8c9a05ce0 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Wed, 19 Jun 2024 02:48:05 -0400 Subject: Don't useradd --system accounts Removing this option causes the UIDs and GIDs to match, which is desirable since GIDs have not yet been predictable. The other differences with --system don't matter for our purposes. Signed-off-by: Malfurious --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 55b4e01..f79830a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,20 +6,20 @@ ENV DEBIAN_FRONTEND=noninteractive # Create system users with fixed, well-known UID/GIDs RUN useradd \ - --uid 2000 --system \ + --uid 2000 \ --shell /usr/sbin/nologin \ --home-dir /var/mail/vhost \ --skel /dev/null --create-home \ vmailbox RUN useradd \ - --uid 2001 --system \ + --uid 2001 \ --shell /usr/sbin/nologin \ --home-dir /var/spool/postfix \ postfix RUN useradd \ - --uid 2002 --system \ + --uid 2002 \ --shell /usr/sbin/nologin \ --home-dir /var/spool/mlmmj \ --skel /dev/null --create-home \ -- cgit v1.2.3