Skip to content

Commit

Permalink
fix: disambiguate addgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Jul 16, 2023
1 parent 11781a6 commit 39ef787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ ARG GID=911

# Create a dedicated user and group
RUN set -eux; \
addgroup -g $GID wsa-tollbooth; \
adduser -u $UID -D -G wsa-tollbooth wsa-tollbooth;
addgroup --gid $GID wsa-tollbooth; \
adduser --uid $UID -D -G wsa-tollbooth wsa-tollbooth;

USER wsa-tollbooth

Expand Down

0 comments on commit 39ef787

Please sign in to comment.