My KVM GID is 104, which apparently conflicts with an existing group within the container(?):
=> CACHED [tizen 10/16] RUN wget https://dl.google.com/linux/direct"/"google-chrome-stable_current_amd64.deb && apt 0.0s
=> CACHED [tizen 11/16] RUN groupmod -o --gid 29 audio && usermod -a -G audio crutcher 0.0s
=> ERROR [tizen 12/16] RUN if [[ $(getent group kvm) ]]; then groupmod -o --gid 104 kvm; else group 0.2s
------
> [tizen 12/16] RUN if [[ $(getent group kvm) ]]; then groupmod -o --gid 104 kvm; else groupadd -g 104 kvm; fi && usermod -a -G kvm crutcher:
0.183 /bin/sh: 1: [[: not found
0.184 groupadd: GID '104' already exists
------
failed to solve: process "/bin/sh -c if [[ $(getent group kvm) ]]; then groupmod -o --gid ${KVM_GID} kvm; else groupadd -g ${KVM_GID} kvm; fi && usermod -a -G kvm ${TIZEN_USER}" did not complete successfully: exit code: 4
[./runTizen.sh] Terminating ...
I added "-o" to the groupadd command in DockerFile and it seems to be working. Not sure if there are side effects, but the build completed and the IDE launched successfully.
My KVM GID is 104, which apparently conflicts with an existing group within the container(?):
I added "-o" to the groupadd command in DockerFile and it seems to be working. Not sure if there are side effects, but the build completed and the IDE launched successfully.