qutebrowser/misc/docker/archlinux/Dockerfile

30 lines
793 B
Docker
Raw Normal View History

2016-03-15 19:16:11 +01:00
FROM base/archlinux
MAINTAINER Florian Bruhin <me@the-compiler.org>
RUN echo 'Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
RUN pacman-key --init && pacman-key --populate archlinux && pacman -Sy --noconfirm archlinux-keyring
2016-08-16 22:59:55 +02:00
RUN pacman -S --noconfirm pacman && pacman-db-upgrade
2016-03-15 19:16:11 +01:00
2016-08-16 22:59:55 +02:00
RUN pacman -Suyy --noconfirm \
2016-03-15 19:16:11 +01:00
git \
python-tox \
qt5-base \
qt5-declarative \
qt5-webkit \
python-pyqt5 \
2016-03-15 19:16:11 +01:00
xorg-xinit \
xorg-server-xvfb
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && locale-gen
RUN useradd user && mkdir /home/user && chown -R user:users /home/user
USER user
WORKDIR /home/user
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
CMD git clone /outside qutebrowser.git && \
2016-03-15 19:16:11 +01:00
cd qutebrowser.git && \
tox -e py35