Luxonis-Lukasz ran into the issue shown in the first image where it failed due to not finding sudo. After including sudo into the dockerfile, encountered the same issue again with the line
RUN wget http://docs.luxonis.com/_static/install_dependencies.sh && chmod +x install_dependencies.sh && ./install_dependencies.sh