Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Dockerfile 964B

1234567891011121314151617181920212223242526272829303132333435
  1. FROM robinthoni/debian-multiarch:jessie
  2. MAINTAINER Robin Thoni <robin@rthoni.com>
  3. RUN apt-get update && \
  4. apt-get install -y curl && \
  5. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  6. RUN echo 'deb http://repo.powerdns.com/debian jessie-auth-40 main' > /etc/apt/sources.list.d/pdns.list && \
  7. echo 'Package: pdns-*\nPin: origin repo.powerdns.com\nPin-Priority: 600' > /etc/apt/preferences.d/pdns && \
  8. curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add -
  9. COPY ./preseed.txt /tmp/preseed.txt
  10. RUN debconf-set-selections /tmp/preseed.txt
  11. RUN DEBIAN_FRONTEND=noninteractive apt-get update &&\
  12. apt-get install -y pdns-server pdns-backend-pgsql &&\
  13. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  14. RUN rm -rf /etc/powerdns/*
  15. RUN rm -rf /var/log/*
  16. COPY ./config/ /etc/powerdns/
  17. COPY ./vars-vars /etc/vars-vars
  18. COPY ./vars-files /etc/vars-files
  19. COPY ./run.sh /run.sh
  20. EXPOSE 53/udp
  21. CMD ["/run.sh"]