FROM debian:jessie MAINTAINER Fabio Rauber ENV DEBIAN_FRONTEND="noninteractive" RUN apt-get update && \ apt-get install -q -y pdns-server pdns-backend-mysql mysql-client && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* EXPOSE 53/udp 53/tcp ADD start.sh /usr/local/bin/start.sh RUN chmod a+x /usr/local/bin/start.sh CMD ["/usr/local/bin/start.sh"]