mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
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.
This commit is contained in:
parent
ecb0ec7685
commit
dc97d58e2d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue