From dc97d58e2dfa2c33499b1e530aea0cfd0d2a2d17 Mon Sep 17 00:00:00 2001 From: Peter Schiffer <3899107+pschiffe@users.noreply.github.com> Date: Fri, 24 Feb 2023 00:40:12 +0100 Subject: [PATCH] pdns-admin: catching up with upstream changes Build process requires npm now, `python3-lxml` requested is too old to build on newer python and gcc, so we install pre-compiled system version. --- pdns-admin-base-ngoduykhanh/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pdns-admin-base-ngoduykhanh/Dockerfile b/pdns-admin-base-ngoduykhanh/Dockerfile index e0587b3..1d0b279 100644 --- a/pdns-admin-base-ngoduykhanh/Dockerfile +++ b/pdns-admin-base-ngoduykhanh/Dockerfile @@ -2,9 +2,12 @@ FROM fedora:37 RUN curl -sSL -o /etc/yum.repos.d/yarn.repo https://dl.yarnpkg.com/rpm/yarn.repo \ && dnf -y --setopt=install_weak_deps=False install \ + npm \ python3-ldap \ + python3-lxml \ python3-mysql \ python3-pip \ + python3-saml \ python3-setuptools \ python3-xmlsec \ uwsgi \ @@ -16,6 +19,8 @@ RUN mkdir -p /opt/powerdns-admin \ | tar -xzC /opt/powerdns-admin --strip 1 \ && sed -i '/python-ldap/d' /opt/powerdns-admin/requirements.txt \ && sed -i '/mysqlclient/d' /opt/powerdns-admin/requirements.txt \ + && sed -i '/lxml/d' /opt/powerdns-admin/requirements.txt \ + && sed -i '/python3-saml/d' /opt/powerdns-admin/requirements.txt \ && chown -R root: /opt/powerdns-admin WORKDIR /opt/powerdns-admin