anchor.diff:              php7.1-zip \
               php-yaml \
               php7.1-xml && \
  -    apt-get autoclean && \
  +    apt-get --yes autoclean && \
       apt-get --purge --yes autoremove && \
  -    cabal update && cabal install \
  +    cabal update && \
  +    cabal install \
       pandoc \
       pandoc-citeproc \
       pandoc-citeproc-preamble \
  
positive.code: # Set to Non-Interactive
  ENV DEBIAN_FRONTEND noninteractive
  
  # Install all TeX, LaTeX dependences, as well as other needed utilities
  RUN apt-get update && \
      apt-get install --yes --no-install-recommends apt-utils && \ 
      apt-get install --yes --no-install-recommends \
              make \
              git \
              wget \
              xz-utils \
              dos2unix \
              apt-transport-https \
              lsb-release \
              ca-certificates \
              locales \
              lmodern \
              texlive-latex-base \
              texlive-fonts-recommended \
              texlive-generic-recommended \
              texlive-lang-english \
              texlive-lang-german \
              latex-xcolor \
              texlive-math-extra \
              texlive-latex-extra \
              texlive-bibtex-extra \
              biber \
              fontconfig \
              texlive-xetex \
              fontconfig \
              libfreetype6 \
              libx11-6 \
              libxext6 \
              libxrender1 && \           
      rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
      wget -q -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
      echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && \
      apt-get update && \
  
negative.code:     cd /tmp && \
      rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 
  
  #
  # Move BuildBook into place.
  #
  COPY ./buildbook.sh /usr/local/bin
  
  # Export the output data
  WORKDIR /data
  VOLUME ["/data"]
  
  #
  # Set the Entry Point
  #
  ENTRYPOINT ["buildbook.sh"]
  