Skip to content

Commit

Permalink
Change localuser to 1001:1001
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed May 8, 2024
1 parent 7862cd4 commit 2cce497
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 @@ -21,10 +21,10 @@ RUN pip install ".[${extras_require}]" \
&& cd / && rm -rf ${SRCDIR}

# Create the 'localuser' group with specified GID
RUN groupadd -g 1101 localuser
RUN groupadd -g 1001 localuser

# Create the 'localuser' user with specified UID, add to the group, and create home directory
RUN useradd -u 1101 -g localuser -m -s /bin/bash localuser
RUN useradd -u 1001 -g localuser -m -s /bin/bash localuser

# Grant sudo privileges to the 'localuser' user
RUN apt-get update && apt-get install -y sudo
Expand Down

0 comments on commit 2cce497

Please sign in to comment.