FROM robinthoni/debian-multiarch:jessie MAINTAINER Robin Thoni RUN apt-get update && \ apt-get install -y\ libpq5\ libboost-dev\ libboost-program-options-dev\ git\ make\ dh-autoreconf\ pkg-config\ gcc\ bison\ flex\ libssl-dev\ libpq-dev\ ragel\ && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN git clone https://github.com/PowerDNS/pdns &&\ cd pdns &&\ git checkout rel/auth-4.0.x RUN cd pdns &&\ ./bootstrap RUN cd pdns &&\ ./configure --with-modules="gpgsql" RUN cd pdns &&\ make RUN cd pdns &&\ make install RUN apt-get autoremove -y\ git\ make\ dh-autoreconf\ pkg-config\ gcc\ bison\ flex\ libssl-dev\ libpq-dev\ ragel\ &&\ rm -rf pdns RUN groupadd -r pdns --gid=999 && useradd -r -g pdns --uid=999 pdns RUN rm -rf /var/log/* EXPOSE 53/udp