|
@ -1,4 +1,4 @@ |
|
|
FROM debian:stretch-slim |
|
|
FROM debian:buster |
|
|
|
|
|
|
|
|
MAINTAINER Fabio Rauber <fabiorauber@gmail.com> |
|
|
MAINTAINER Fabio Rauber <fabiorauber@gmail.com> |
|
|
|
|
|
|
|
@ -12,13 +12,14 @@ ENV PDNSCONF_LAUNCH="gmysql" \ |
|
|
PDNSCONF_API_KEY="" \ |
|
|
PDNSCONF_API_KEY="" \ |
|
|
SECALLZONES_CRONJOB="no" |
|
|
SECALLZONES_CRONJOB="no" |
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -q -y curl gnupg && \ |
|
|
|
|
|
curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - |
|
|
|
|
|
|
|
|
ADD pdns.list /etc/apt/sources.list.d/pdns.list |
|
|
ADD pdns.list /etc/apt/sources.list.d/pdns.list |
|
|
ADD pdns.preference /etc/apt/preferences.d/pdns |
|
|
ADD pdns.preference /etc/apt/preferences.d/pdns |
|
|
|
|
|
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -q -y curl gnupg && \ |
|
|
RUN apt-get update && \ |
|
|
curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - && apt-get update |
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -q -y pdns-server pdns-backend-mysql mariadb-client && \ |
|
|
|
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -q -y pdns-server pdns-backend-mysql mysql-client && \ |
|
|
|
|
|
rm /etc/powerdns/pdns.d/*.conf && rm /etc/powerdns/*.conf && \ |
|
|
rm /etc/powerdns/pdns.d/*.conf && rm /etc/powerdns/*.conf && \ |
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cron jq && \ |
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cron jq && \ |
|
|
rm /etc/cron.daily/* && \ |
|
|
rm /etc/cron.daily/* && \ |
|
|