Skip to content

Commit

Permalink
Merge pull request #58 from Malcom1986/fix-10
Browse files Browse the repository at this point in the history
  • Loading branch information
mokevnin authored Jul 10, 2024
2 parents 5335bab + f0b7a32 commit 851a916
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repo-downloader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ARG GID

USER root

RUN addgroup --gid $GID $GROUP && adduser -D -H --gecos "" --ingroup "$GROUP" --uid "$UID" "$USER"
RUN addgroup --gid $GID $GROUP || true \
&& adduser -D -H --gecos "" --ingroup `getent group $GID | cut -d: -f1` --uid "$UID" "$USER"

USER $USER

Expand Down

0 comments on commit 851a916

Please sign in to comment.