Dockerfile 514 B

123456789101112131415161718
  1. FROM debian:jessie
  2. MAINTAINER Andre Peters <andre.peters@debinux.de>
  3. ENV DEBIAN_FRONTEND noninteractive
  4. RUN echo 'deb http://repo.powerdns.com/debian jessie-rec-40 main' > /etc/apt/sources.list.d/pdns.list
  5. RUN echo 'Package: pdns-*\n\
  6. Pin: origin repo.powerdns.com\n\
  7. Pin-Priority: 600\n' > /etc/apt/preferences.d/pdns
  8. RUN apt-key adv --fetch-keys http://repo.powerdns.com/FD380FBB-pub.asc \
  9. && apt-get update \
  10. && apt-get install -y --force-yes pdns-recursor
  11. CMD ["/usr/sbin/pdns_recursor"]
  12. EXPOSE 53/udp