You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 739B

1234567891011121314151617181920212223242526272829303132
  1. FROM debian:jessie
  2. MAINTAINER Robin Thoni <robin@rthoni.com>
  3. COPY ./preseed.txt /tmp/preseed.txt
  4. RUN debconf-set-selections /tmp/preseed.txt
  5. RUN DEBIAN_FRONTEND=noninteractive apt-get update &&\
  6. apt-get install -y pdns-server pdns-backend-pgsql rsyslog &&\
  7. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  8. RUN rm -rf /etc/powerdns/*
  9. RUN rm -rf /var/log/* &&\
  10. mkfifo /var/log/mail.info &&\
  11. ln -s /dev/null /var/log/mail.log &&\
  12. ln -s /dev/stderr /var/log/mail.err &&\
  13. ln -s /dev/null /var/log/syslog &&\
  14. ln -s /dev/null /var/log/messages
  15. COPY ./config/ /etc/powerdns/
  16. COPY ./vars-vars /etc/vars-vars
  17. COPY ./vars-files /etc/vars-files
  18. COPY ./run.sh /run.sh
  19. EXPOSE 53/udp
  20. CMD ["/run.sh"]