anchor.diff:      WEBMIN_VERSION=1.8 \
       DATA_DIR=/data
   
  -RUN apt-get update \
  - && DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg \
  - && apt-key adv --fetch-keys http://www.webmin.com/jcameron-key.asc \
  - && echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list \
  - && rm -rf /etc/apt/apt.conf.d/docker-gzip-indexes \
  +COPY --from=add-apt-repositories /etc/apt/trusted.gpg /etc/apt/trusted.gpg
  +
  +COPY --from=add-apt-repositories /etc/apt/sources.list /etc/apt/sources.list
  +
  +RUN rm -rf /etc/apt/apt.conf.d/docker-gzip-indexes \
    && apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y \
         bind9=1:${BIND_VERSION}* bind9-host=1:${BIND_VERSION}* dnsutils \
  
positive.code: FROM ubuntu:bionic-20180526
  LABEL maintainer="sameer@damagehead.com"
  
  ENV BIND_USER=bind \
  
negative.code:  && rm -rf /var/lib/apt/lists/*
  
  COPY entrypoint.sh /sbin/entrypoint.sh
  
  RUN chmod 755 /sbin/entrypoint.sh
  
  EXPOSE 53/udp 53/tcp 10000/tcp
  
  ENTRYPOINT ["/sbin/entrypoint.sh"]
  
  CMD ["/usr/sbin/named"]
  