Cannot build the GUI from the dockerfile:
[WARNING]: Empty continuation line found in:
RUN useradd -m $USERNAME && echo "$USERNAME:$USERNAME" | chpasswd && usermod --shell /bin/bash $USERNAME && usermod -aG sudo $USERNAME && echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME && usermod --uid 1000 $USERNAME && groupmod --gid 1000 $USERNAME
[WARNING]: Empty continuation lines will become errors in a future release.
SO, I started with trying to build the GUI manually from the CLI...
command I run in commandline:
sudo docker run -ti -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -u guiuser speaker-recognition
error that pops up
/usr/bin/python: can't open file '/root/speaker-recognition/src/speaker-recognition.py': [Errno 13] Permission denied
--> Also tried running it as root, but that throws the same error (running it on Ubuntu 16.04)
In this situation, I think you may need to chmod all the files/folders so they're accessible by guiuser ... I'll take a look and let you know more when I do.
Cannot build the GUI from the dockerfile: [WARNING]: Empty continuation line found in: RUN useradd -m $USERNAME && echo "$USERNAME:$USERNAME" | chpasswd && usermod --shell /bin/bash $USERNAME && usermod -aG sudo $USERNAME && echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME && usermod --uid 1000 $USERNAME && groupmod --gid 1000 $USERNAME [WARNING]: Empty continuation lines will become errors in a future release.
SO, I started with trying to build the GUI manually from the CLI... command I run in commandline: sudo docker run -ti -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -u guiuser speaker-recognition error that pops up /usr/bin/python: can't open file '/root/speaker-recognition/src/speaker-recognition.py': [Errno 13] Permission denied
--> Also tried running it as root, but that throws the same error (running it on Ubuntu 16.04)
@ppwwyyxx any ideas?