Skip to content

Instantly share code, notes, and snippets.

Created December 15, 2017 20:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Ring Dockerfile for ubuntu 17.10
# docker run --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --net host -it --privileged --device /dev/video0:/dev/video0 ring
FROM ubuntu:17.10
LABEL maintainer="Sébastien Blin <>"
# Install system tools needed
RUN apt-get update -y \
&& apt-get install git python3 -y
# Clone ring-project
RUN git clone
# Build it
WORKDIR ring-project
RUN ./ --init
RUN ./ --dependencies
RUN ./ --install
# To communicate with the dht
RUN apt-get install dbus-x11 -y
RUN apt-get install mplayer ffmpeg v4l-utils -y
RUN adduser root video
#CMD ["./daemon/bin/dring", "-pcd"]
CMD ["/bin/bash"]
# mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment