From f4a27c05d3aa18d819cb43cd6a1a8e48a937208c Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 12 Nov 2021 16:06:17 +0200 Subject: [PATCH] add setup.sh --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 32aee83..91d09c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,8 @@ ENV UID=12345 ENV GID=23456 RUN addgroup -S docker \ - && adduser \ - --disabled-password \ - --gecos "" \ - --home "/home/$USERhome" \ - --ingroup "$USERhome" \ - --uid "$UID" \ - "$USERhome" + && adduser -D -g "" -h "/home/${USERhome}" -G "${USERhome}" -U "${UID}" "${USERhome}" +