FROM robinthoni/debian-multiarch: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 ./run.sh /run.sh EXPOSE 53/udp CMD ["/run.sh"]