Browse Source
Install powerdns keyring directly to trusted.gpg.d.
This replaces the deprecated apt-key method that was previously used.
pull/5/head
Carl Kittelberger
3 years ago
No known key found for this signature in database
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with
5 additions and
4 deletions
-
pdns/Dockerfile
|
@ -12,16 +12,17 @@ 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 && \ |
|
|
ADD https://repo.powerdns.com/FD380FBB-pub.asc /etc/apt/trusted.gpg.d/powerdns-key.asc |
|
|
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 && \ |
|
|
RUN \ |
|
|
|
|
|
chmod 644 /etc/apt/trusted.gpg.d/powerdns-key.asc && \ |
|
|
|
|
|
apt-get update && \ |
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -q -y pdns-server pdns-backend-mysql mariadb-client && \ |
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -q -y pdns-server pdns-backend-mysql mariadb-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 curl jq && \ |
|
|
rm /etc/cron.daily/* && \ |
|
|
rm /etc/cron.daily/* && \ |
|
|
mkdir /var/run/pdns && \ |
|
|
mkdir /var/run/pdns && \ |
|
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
|
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
|
|