Create group for user in sonic-slave if does absent (#98)

This commit is contained in:
Marian Pritsak 2016-12-06 16:31:59 +02:00 committed by lguohan
parent 54a3178174
commit 16a8224e23

View File

@ -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