Update pdns-admin images

This commit is contained in:
Peter Schiffer 2018-11-07 22:27:04 +01:00
parent bb15b6cb05
commit 74b4fe7395
No known key found for this signature in database
GPG key ID: 6CCC5046E2B0B44B
2 changed files with 7 additions and 8 deletions

View file

@ -1,5 +1,5 @@
FROM nginx:1.12-alpine FROM nginx:1.14-alpine
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com> MAINTAINER "Peter Schiffer" <peter@rfv.sk>
RUN apk add --no-cache curl RUN apk add --no-cache curl

View file

@ -1,5 +1,5 @@
FROM fedora:27 FROM fedora:29
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com> MAINTAINER "Peter Schiffer" <peter@rfv.sk>
RUN dnf -y --setopt=install_weak_deps=False install \ RUN dnf -y --setopt=install_weak_deps=False install \
python-pip \ python-pip \
@ -7,7 +7,7 @@ RUN dnf -y --setopt=install_weak_deps=False install \
python-ldap \ python-ldap \
mariadb \ mariadb \
uwsgi \ uwsgi \
uwsgi-plugin-python \ uwsgi-plugin-python2 \
&& dnf clean all && dnf clean all
RUN mkdir -p /opt/powerdns-admin \ RUN mkdir -p /opt/powerdns-admin \
@ -20,9 +20,8 @@ RUN mkdir -p /opt/powerdns-admin \
WORKDIR /opt/powerdns-admin WORKDIR /opt/powerdns-admin
RUN pip3 install envtpl \ RUN pip3 install --no-cache-dir envtpl \
&& pip install -r requirements.txt \ && pip install -r requirements.txt --no-cache-dir
&& rm -rf ~/.cache/*
ENV PDNS_ADMIN_LOGIN_TITLE="'PDNS'" \ ENV PDNS_ADMIN_LOGIN_TITLE="'PDNS'" \
PDNS_ADMIN_TIMEOUT=10 \ PDNS_ADMIN_TIMEOUT=10 \