add -f option to groupadd command. This fixed an issue for me where the group in $GID already existed, preventing me from completing DockerBuild.sh on Linux Mint 19
These two packages are needed to stream video from the webcam