allow debian useradd with duplicate id
This commit is contained in:
parent
eb7670e5c3
commit
bc85e4b3c5
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue