blob: 1af90283c612fc58a0e53b8b87e5d712b69d4b24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
FROM archlinux:latest
{% if unstable %}
RUN sed -i '/^# after the header/a[kde-unstable]\nInclude = /etc/pacman.d/mirrorlist\n\n[testing]\nInclude = /etc/pacman.d/mirrorlist\n\n[community-testing]\nInclude = /etc/pacman.d/mirrorlist' /etc/pacman.conf
{% endif %}
RUN pacman -Suyy --noconfirm \
git \
python-tox \
python-distlib \
{% if qt6 %}
qt6-base \
qt6-declarative \
{% if webengine %}qt6-webengine python-pyqt6-webengine{% else %}{{ 1/0 }}{% endif %} \
python-pyqt6 \
{% else %}
qt5-base \
qt5-declarative \
{% if webengine %}qt5-webengine python-pyqt5-webengine{% else %}qt5-webkit{% endif %} \
python-pyqt5 \
{% endif %}
xorg-xinit \
xorg-server-xvfb \
ttf-bitstream-vera \
gcc \
libyaml \
xorg-xdpyinfo
RUN useradd user -u 1001 && \
mkdir /home/user && \
chown user:users /home/user
USER user
WORKDIR /home/user
CMD git clone /outside qutebrowser.git && \
cd qutebrowser.git && \
tox -e py
|