docker: Don't install libxml2.13 for webkit
This commit is contained in:
parent
06e7950588
commit
9aef02e96c
|
|
@ -42,7 +42,15 @@ RUN useradd user -u 1001 && \
|
|||
chown user:users /home/user
|
||||
RUN echo 'user ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers # needed for makepkg
|
||||
|
||||
{% if not webengine %}
|
||||
{% if webengine %}
|
||||
# Needed for running PyPI Qt builds
|
||||
USER user
|
||||
RUN cd ~ && \
|
||||
git clone https://aur.archlinux.org/libxml2.13.git && \
|
||||
cd libxml2.13 && \
|
||||
makepkg -si --noconfirm
|
||||
USER root
|
||||
{% else %}
|
||||
RUN pacman -U --noconfirm \
|
||||
https://archive.archlinux.org/packages/q/qt5-webkit/qt5-webkit-5.212.0alpha4-18-x86_64.pkg.tar.zst \
|
||||
https://archive.archlinux.org/packages/p/python-pyqt5/python-pyqt5-5.15.7-2-x86_64.pkg.tar.zst \
|
||||
|
|
@ -67,14 +75,6 @@ RUN python3.10 -m ensurepip
|
|||
RUN python3.10 -m pip install tox pyqt5-sip
|
||||
{% endif %}
|
||||
|
||||
# Needed for running PyPI Qt builds
|
||||
USER user
|
||||
RUN cd ~ && \
|
||||
git clone https://aur.archlinux.org/libxml2.13.git && \
|
||||
cd libxml2.13 && \
|
||||
makepkg -si --noconfirm
|
||||
USER root
|
||||
|
||||
{% if qt6 %}
|
||||
{% set pyqt_module = 'PyQt6' %}
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue