allow debian useradd with duplicate id

This commit is contained in:
keyan 2024-03-09 12:15:36 -06:00
parent eb7670e5c3
commit bc85e4b3c5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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