mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2025-01-18 19:11:14 +01:00
Update pdns-admin images
This commit is contained in:
parent
bb15b6cb05
commit
74b4fe7395
2 changed files with 7 additions and 8 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue