From 74b4fe73958367c6907c0b04a401b7fe6ab23026 Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Wed, 7 Nov 2018 22:27:04 +0100 Subject: [PATCH] Update pdns-admin images --- pdns-admin-static/Dockerfile | 4 ++-- pdns-admin-uwsgi/Dockerfile | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pdns-admin-static/Dockerfile b/pdns-admin-static/Dockerfile index 16977a9..42b7f7a 100644 --- a/pdns-admin-static/Dockerfile +++ b/pdns-admin-static/Dockerfile @@ -1,5 +1,5 @@ -FROM nginx:1.12-alpine -MAINTAINER "Peter Schiffer" +FROM nginx:1.14-alpine +MAINTAINER "Peter Schiffer" RUN apk add --no-cache curl diff --git a/pdns-admin-uwsgi/Dockerfile b/pdns-admin-uwsgi/Dockerfile index fd256b3..95b619c 100644 --- a/pdns-admin-uwsgi/Dockerfile +++ b/pdns-admin-uwsgi/Dockerfile @@ -1,5 +1,5 @@ -FROM fedora:27 -MAINTAINER "Peter Schiffer" +FROM fedora:29 +MAINTAINER "Peter Schiffer" RUN dnf -y --setopt=install_weak_deps=False install \ python-pip \ @@ -7,7 +7,7 @@ RUN dnf -y --setopt=install_weak_deps=False install \ python-ldap \ mariadb \ uwsgi \ - uwsgi-plugin-python \ + uwsgi-plugin-python2 \ && dnf clean all RUN mkdir -p /opt/powerdns-admin \ @@ -20,9 +20,8 @@ RUN mkdir -p /opt/powerdns-admin \ WORKDIR /opt/powerdns-admin -RUN pip3 install envtpl \ - && pip install -r requirements.txt \ - && rm -rf ~/.cache/* +RUN pip3 install --no-cache-dir envtpl \ + && pip install -r requirements.txt --no-cache-dir ENV PDNS_ADMIN_LOGIN_TITLE="'PDNS'" \ PDNS_ADMIN_TIMEOUT=10 \