mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Update base images, move to the versioned PowerDNS-Admin archive
This commit is contained in:
parent
2959273e6e
commit
73fad4b9f5
6 changed files with 14 additions and 15 deletions
|
@ -1,25 +1,27 @@
|
|||
FROM fedora:37
|
||||
FROM fedora:38
|
||||
|
||||
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 \
|
||||
nodejs-npm \
|
||||
python3-ldap \
|
||||
python3-lxml \
|
||||
python3-mysql \
|
||||
python3-pip \
|
||||
python3-saml \
|
||||
python3-setuptools \
|
||||
python3-wheel \
|
||||
python3-xmlsec \
|
||||
uwsgi \
|
||||
yarn \
|
||||
&& dnf clean all
|
||||
|
||||
RUN mkdir -p /opt/powerdns-admin \
|
||||
&& curl -sSL https://github.com/ngoduykhanh/PowerDNS-Admin/archive/master.tar.gz \
|
||||
&& curl -sSL https://github.com/PowerDNS-Admin/PowerDNS-Admin/archive/refs/tags/v0.4.1.tar.gz \
|
||||
| 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 '/mysqlclient/d' /opt/powerdns-admin/requirements.txt \
|
||||
&& sed -i '/psycopg2/d' /opt/powerdns-admin/requirements.txt \
|
||||
&& sed -i '/python-ldap/d' /opt/powerdns-admin/requirements.txt \
|
||||
&& sed -i '/python3-saml/d' /opt/powerdns-admin/requirements.txt \
|
||||
&& chown -R root: /opt/powerdns-admin
|
||||
|
||||
|
@ -39,5 +41,4 @@ RUN envtpl < /config.py.tpl > /opt/powerdns-admin/config.py \
|
|||
RUN yarn install --pure-lockfile --production \
|
||||
&& yarn cache clean \
|
||||
&& flask assets build \
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/powerdnsadmin/static/.webassets-cache \
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/flask_session
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/powerdnsadmin/static/.webassets-cache
|
||||
|
|
|
@ -13,9 +13,7 @@ CAPTCHA_WIDTH = 160
|
|||
CAPTCHA_HEIGHT = 60
|
||||
CAPTCHA_SESSION_KEY = 'captcha_image'
|
||||
|
||||
# Server side sessions tracking
|
||||
# Set to TRUE for CAPTCHA, or enable another stateful session tracking system
|
||||
FILESYSTEM_SESSIONS_ENABLED = True
|
||||
SESSION_TYPE = 'sqlalchemy'
|
||||
|
||||
# SAML Authnetication
|
||||
SAML_ENABLED = False
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM fedora:37
|
||||
FROM fedora:38
|
||||
|
||||
RUN dnf -y --setopt=install_weak_deps=False install \
|
||||
pdns-recursor \
|
||||
|
@ -13,7 +13,7 @@ RUN mkdir -p /etc/pdns-recursor/api.d \
|
|||
&& mkdir -p /run/pdns-recursor \
|
||||
&& chown -R pdns-recursor: /run/pdns-recursor
|
||||
|
||||
ENV VERSION=4.7 \
|
||||
ENV VERSION=4.8 \
|
||||
PDNS_setuid=pdns-recursor \
|
||||
PDNS_setgid=pdns-recursor \
|
||||
PDNS_daemon=no
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.17.2
|
||||
FROM alpine:3.17.3
|
||||
|
||||
RUN apk add --no-cache \
|
||||
pdns-recursor \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM fedora:37
|
||||
FROM fedora:38
|
||||
|
||||
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf \
|
||||
&& dnf -y --setopt=install_weak_deps=False install \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.17.2
|
||||
FROM alpine:3.17.3
|
||||
|
||||
RUN apk add --no-cache \
|
||||
mariadb-client \
|
||||
|
|
Loading…
Reference in a new issue