FROM debian:jessie MAINTAINER Robin Thoni RUN DEBIAN_FRONTEND=noninteractive apt-get update &&\ apt-get install -y pdns-recursor &&\ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN rm -rf /etc/powerdns/* RUN rm -rf /var/log/* COPY ./config/ /etc/powerdns/ COPY ./vars-vars /etc/vars-vars COPY ./vars-files /etc/vars-files COPY ./run.sh /run.sh EXPOSE 53/udp CMD ["/run.sh"]