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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. g++\
  14. bison\
  15. flex\
  16. libssl-dev\
  17. libpq-dev\
  18. ragel\
  19. && \
  20. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  21. RUN git clone https://github.com/PowerDNS/pdns &&\
  22. cd pdns &&\
  23. git checkout rel/auth-4.0.x
  24. RUN cd pdns &&\
  25. ./bootstrap
  26. RUN cd pdns &&\
  27. ./configure --with-modules="gpgsql"
  28. RUN cd pdns &&\
  29. make
  30. RUN cd pdns &&\
  31. make install
  32. RUN apt-get autoremove -y\
  33. git\
  34. make\
  35. dh-autoreconf\
  36. pkg-config\
  37. gcc\
  38. g++\
  39. bison\
  40. flex\
  41. libssl-dev\
  42. libpq-dev\
  43. ragel\
  44. &&\
  45. rm -rf pdns
  46. RUN groupadd -r pdns --gid=999 && useradd -r -g pdns --uid=999 pdns
  47. RUN rm -rf /var/log/*
  48. EXPOSE 53/udp