Skip to content

Commit

Permalink
ADD GID variable
Browse files Browse the repository at this point in the history
Signed-off-by: jafraustro <[email protected]>
  • Loading branch information
jafraustro committed Oct 22, 2024
1 parent 1c97db4 commit 6056cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion preset/deep-learning/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ RUN apt-get install -y --no-install-recommends --fix-missing \
rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/*list

RUN useradd --uid 1000 -d /home/dev -s /bin/bash dev
RUN groupadd -g 109 render
ARG GID=109
RUN groupadd -g ${GID} render
RUN usermod -aG root,sudo,video,render dev
RUN echo 'dev:password' | chpasswd
USER dev
Expand Down

0 comments on commit 6056cd2

Please sign in to comment.