mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-14 04:07:57 +01:00
Switch base image for pdns-admin
from Fedora to Rocky linux 9 UBI for more stability. Bleeding edge Python is not good for pdns-admin.
This commit is contained in:
parent
e37b326748
commit
08ed6b10d1
1 changed files with 7 additions and 7 deletions
|
@ -1,20 +1,21 @@
|
||||||
FROM fedora:38
|
FROM rockylinux/rockylinux:9-ubi
|
||||||
|
|
||||||
RUN echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
|
RUN echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
|
||||||
|
&& echo 'tsflags=nodocs' >> /etc/dnf/dnf.conf \
|
||||||
&& echo 'assumeyes=True' >> /etc/dnf/dnf.conf \
|
&& echo 'assumeyes=True' >> /etc/dnf/dnf.conf \
|
||||||
&& curl -fsSL -o /etc/yum.repos.d/yarn.repo https://dl.yarnpkg.com/rpm/yarn.repo \
|
&& curl -fsSL -o /etc/yum.repos.d/yarn.repo https://dl.yarnpkg.com/rpm/yarn.repo \
|
||||||
|
&& dnf module enable nodejs:20 \
|
||||||
|
&& dnf install epel-release \
|
||||||
&& dnf --refresh upgrade \
|
&& dnf --refresh upgrade \
|
||||||
&& dnf install \
|
&& dnf install \
|
||||||
nodejs-npm \
|
npm \
|
||||||
python3-cffi \
|
python3-cffi \
|
||||||
python3-ldap \
|
python3-ldap \
|
||||||
python3-lxml \
|
python3-lxml \
|
||||||
python3-mysql \
|
python3-mysqlclient \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-pyyaml \
|
python3-pyyaml \
|
||||||
python3-saml \
|
python3-saml \
|
||||||
python3-setuptools \
|
|
||||||
python3-wheel \
|
|
||||||
python3-xmlsec \
|
python3-xmlsec \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
yarn \
|
yarn \
|
||||||
|
@ -41,8 +42,7 @@ RUN mkdir -p /opt/powerdns-admin \
|
||||||
|
|
||||||
WORKDIR /opt/powerdns-admin
|
WORKDIR /opt/powerdns-admin
|
||||||
|
|
||||||
RUN pip3 install --no-cache-dir python-dotenv \
|
RUN pip3 install -r requirements.txt --no-cache-dir
|
||||||
&& pip3 install -r requirements.txt --no-cache-dir
|
|
||||||
|
|
||||||
ENV FLASK_APP=/opt/powerdns-admin/powerdnsadmin/__init__.py
|
ENV FLASK_APP=/opt/powerdns-admin/powerdnsadmin/__init__.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue