docker/powerdns/Dockerfile aktualisiert

This commit is contained in:
opinux 2024-09-15 20:26:36 +02:00
parent 8c086d3194
commit 87c648e7bd
1 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
FROM buildpack-deps:stretch-scm FROM buildpack-deps:bookworm-scm
# the setup procedure according to https://repo.powerdns.com/ (Debian 9 Stretch) # the setup procedure according to https://repo.powerdns.com/ (Debian 12 Bookworm)
RUN echo "deb [arch=amd64] http://repo.powerdns.com/debian stretch-auth-43 main" > /etc/apt/sources.list.d/pdns.list \ RUN echo "deb [arch=amd64] http://repo.powerdns.com/debian bookworm-auth-49 main" > /etc/apt/sources.list.d/pdns.list \
&& echo "Package: pdns-*\nPin: origin repo.powerdns.com\nPin-Priority: 600\n" >> /etc/apt/preferences.d/pdns \ && echo "Package: pdns-*\nPin: origin repo.powerdns.com\nPin-Priority: 600\n" >> /etc/apt/preferences.d/pdns \
&& curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - \ && curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - \
&& apt-get -y update \ && apt-get -y update \