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 981B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. FROM robinthoni/debian-multiarch:jessie
  2. MAINTAINER Robin Thoni <robin@rthoni.com>
  3. RUN apt-get update && \
  4. apt-get install -y\
  5. libpq5\
  6. libboost-dev\
  7. libboost-program-options-dev\
  8. git\
  9. make\
  10. dh-autoreconf\
  11. pkg-config\
  12. gcc\
  13. bison\
  14. flex\
  15. libssl-dev\
  16. libpq-dev\
  17. ragel\
  18. && \
  19. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  20. RUN git clone https://github.com/PowerDNS/pdns &&\
  21. cd pdns &&\
  22. git checkout rel/auth-4.0.x
  23. RUN cd pdns &&\
  24. ./bootstrap
  25. RUN cd pdns &&\
  26. ./configure --with-modules="gpgsql"
  27. RUN cd pdns &&\
  28. make
  29. RUN cd pdns &&\
  30. make install
  31. RUN apt-get autoremove -y\
  32. git\
  33. make\
  34. dh-autoreconf\
  35. pkg-config\
  36. gcc\
  37. bison\
  38. flex\
  39. libssl-dev\
  40. libpq-dev\
  41. ragel\
  42. &&\
  43. rm -rf pdns
  44. RUN groupadd -r pdns --gid=999 && useradd -r -g pdns --uid=999 pdns
  45. RUN rm -rf /var/log/*
  46. EXPOSE 53/udp