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
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com>
FROM nginx:1.14-alpine
MAINTAINER "Peter Schiffer" <peter@rfv.sk>
RUN apk add --no-cache curl

View file

@ -1,5 +1,5 @@
FROM fedora:27
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com>
FROM fedora:29
MAINTAINER "Peter Schiffer" <peter@rfv.sk>
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 \