qutebrowser/misc/docker/debian-jessie/Dockerfile

36 lines
875 B
Docker
Raw Normal View History

2016-03-11 06:52:07 +01:00
FROM debian:jessie
MAINTAINER Florian Bruhin <me@the-compiler.org>
ENV DEBIAN_FRONTEND=noninteractive
2016-03-11 06:52:07 +01:00
RUN apt-get -y update && \
2016-03-15 21:08:19 +01:00
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 \
locales \
libjs-pdf
2016-03-15 21:08:19 +01:00
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && locale-gen
2016-03-11 06:52:07 +01:00
RUN useradd user && mkdir /home/user && chown -R user:users /home/user
USER user
WORKDIR /home/user
ENV DISPLAY=:0
2016-03-15 21:08:19 +01:00
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
2016-03-11 06:52:07 +01:00
2016-03-15 21:08:19 +01:00
CMD Xvfb -screen 0 800x600x24 :0 & \
sleep 2 && \
herbstluftwm & \
2016-03-11 06:52:07 +01:00
git clone /outside qutebrowser.git && \
cd qutebrowser.git && \
tox -e py34