2016-05-29 23:14:54 +02:00
|
|
|
FROM ubuntu:xenial
|
|
|
|
MAINTAINER Florian Bruhin <me@the-compiler.org>
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN apt-get -y update && \
|
|
|
|
apt-get -y dist-upgrade && \
|
|
|
|
apt-get -y install --no-install-recommends \
|
|
|
|
python3-pyqt5 \
|
|
|
|
python3-pyqt5.qtwebkit \
|
|
|
|
python-tox \
|
|
|
|
python3-sip \
|
|
|
|
xvfb \
|
|
|
|
git \
|
|
|
|
python3-setuptools \
|
|
|
|
wget \
|
|
|
|
herbstluftwm \
|
|
|
|
language-pack-en \
|
2016-05-29 23:25:46 +02:00
|
|
|
libjs-pdf \
|
|
|
|
dbus
|
2016-05-29 23:14:54 +02:00
|
|
|
|
|
|
|
RUN dbus-uuidgen --ensure
|
|
|
|
|
|
|
|
RUN useradd user && mkdir /home/user && chown -R user:users /home/user
|
|
|
|
USER user
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
|
|
|
ENV DISPLAY=:0
|
|
|
|
ENV LC_ALL=en_US.UTF-8
|
|
|
|
ENV LANG=en_US.UTF-8
|
|
|
|
|
|
|
|
CMD Xvfb -screen 0 800x600x24 :0 & \
|
|
|
|
sleep 2 && \
|
|
|
|
herbstluftwm & \
|
|
|
|
git clone /outside qutebrowser.git && \
|
|
|
|
cd qutebrowser.git && \
|
2016-05-30 00:03:40 +02:00
|
|
|
tox -e py35
|