From bc85e4b3c53469c3b11a5d880ddc2497c50884f7 Mon Sep 17 00:00:00 2001 From: keyan Date: Sat, 9 Mar 2024 12:15:36 -0600 Subject: [PATCH] allow debian useradd with duplicate id --- Dockerfile | 2 +- worker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27deddd8..a68fc881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ENV NODE_ENV=development ARG UID ARG GID RUN groupadd -fg "$GID" apprunner -RUN useradd -m -u "$UID" -g "$GID" apprunner +RUN useradd -om -u "$UID" -g "$GID" apprunner USER apprunner WORKDIR /app diff --git a/worker/Dockerfile b/worker/Dockerfile index c1a05b0c..01471151 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -7,7 +7,7 @@ ENV NODE_ENV=development ARG UID ARG GID RUN groupadd -fg "$GID" apprunner -RUN useradd -m -u "$UID" -g "$GID" apprunner +RUN useradd -om -u "$UID" -g "$GID" apprunner USER apprunner WORKDIR /app \ No newline at end of file