From 3ec7a01590ef39ee48f6cb2563aeab741b1401a7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 11 Mar 2016 06:52:07 +0100 Subject: [PATCH] Add Dockerfile for Debian jessie --- misc/docker/debian-jessie/Dockerfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 misc/docker/debian-jessie/Dockerfile diff --git a/misc/docker/debian-jessie/Dockerfile b/misc/docker/debian-jessie/Dockerfile new file mode 100644 index 000000000..8ee43f42f --- /dev/null +++ b/misc/docker/debian-jessie/Dockerfile @@ -0,0 +1,27 @@ +FROM debian:jessie +MAINTAINER Florian Bruhin + +RUN apt-get -y update && \ + apt-get -y install python3-pyqt5 python3-pyqt5.qtwebkit python-tox \ + python3-sip python3-dev xvfb git dbus \ + python3-setuptools wget xinit build-essential \ + xserver-xorg-core xserver-xorg-video-dummy herbstluftwm +RUN dbus-uuidgen --ensure +RUN wget http://www.karlrunge.com/x11vnc/Xdummy -O /usr/local/bin/Xdummy && \ + chmod +x /usr/local/bin/Xdummy +RUN Xdummy -install +# Keep image small after Xdummy is installed +RUN apt-get -y purge build-essential && apt-get -y autoremove + +RUN useradd user && mkdir /home/user && chown -R user:users /home/user +USER user +WORKDIR /home/user + +RUN echo 'exec herbstluftwm' > /home/user/.xinitrc + +ENV DISPLAY=:0 + +CMD startx -- /usr/local/bin/Xdummy :0 & \ + git clone /outside qutebrowser.git && \ + cd qutebrowser.git && \ + tox -e py34