Skip to content

Commit

Permalink
Create group for user in sonic-slave if does absent (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
marian-pritsak authored and lguohan committed Dec 6, 2016
1 parent 54a3178 commit 16a8224
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sonic-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ ARG user
ARG uid
ARG guid

RUN groupadd -f -r -g $guid g$user

RUN useradd $user -u $uid -g $guid -d /var/$user -m -s /bin/bash

RUN gpasswd -a $user docker
Expand Down

0 comments on commit 16a8224

Please sign in to comment.