Skip to content

Commit

Permalink
Ensure group exists
Browse files Browse the repository at this point in the history
Signed-off-by: Thane Thomson <connect@thanethomson.com>
  • Loading branch information
thanethomson committed Nov 8, 2023
1 parent f8e742a commit 7e6eb77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/localnode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN apk update && \
apk upgrade && \
apk --no-cache add curl jq file shadow

RUN groupadd -g ${GID} tmgroup || true

# Set the tmuser's UID and GID to the preconfigured values to match the host's
# UID/GID combo. Otherwise permissions become difficult to manage.
RUN usermod -u ${UID} -g ${GID} tmuser
Expand Down

0 comments on commit 7e6eb77

Please sign in to comment.