anchor.diff:  
   # Housekeeping
   RUN rm -f /etc/pacman.d/mirrorlist.pacnew
  -RUN if [ -f /etc/systemd/coredump.conf.pacnew ]; then \
  -    mv -f /etc/systemd/coredump.conf.pacnew /etc/systemd/coredump.conf ; \
  -  fi
  -RUN if [ -f /etc/locale.gen.pacnew ];  then \
  -    mv -f /etc/locale.gen.pacnew /etc/locale.gen ; \
  -  fi
  + && if [ -f /etc/systemd/coredump.conf.pacnew ]; then \
  +      mv -f /etc/systemd/coredump.conf.pacnew /etc/systemd/coredump.conf ; \
  +    fi \
  + && if [ -f /etc/locale.gen.pacnew ];  then \
  +      mv -f /etc/locale.gen.pacnew /etc/locale.gen ; \
  +    fi
   
   # Generate locales
  -RUN cat /etc/locale.gen | expand | sed 's/^# .*$//g' | sed 's/^#$//g' | egrep -v '^$' | sed 's/^#//g' > /tmp/locale.gen \
  -  && echo en_GB.UTF8 >> /tmp/locale.gen \
  -  && mv -f /tmp/locale.gen /etc/locale.gen \
  -  && locale-gen
  -ENV LANG=en_GB.UTF8
  +RUN echo "en_GB.UTF-8 UTF-8" >  /etc/locale.gen \
  + && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
  + && locale-gen \
  + && echo "LANG=en_GB.UTF-8" >> /etc/locale.conf
  +ENV LANG=en_GB.UTF-8
   
   # Create install script
  -RUN touch                                            /usr/local/bin/vca-install-package && \
  -  chmod +x                                           /usr/local/bin/vca-install-package && \
  -  echo '#! /bin/sh'                               >> /usr/local/bin/vca-install-package && \
  -  echo 'set -e'                                   >> /usr/local/bin/vca-install-package && \
  -  echo 'pacman --noprogressbar --noconfirm -S $@' >> /usr/local/bin/vca-install-package && \
  -  echo 'pacman --noprogressbar --noconfirm -Scc'  >> /usr/local/bin/vca-install-package && \
  -  echo 'pacman-optimize --nocolor'                >> /usr/local/bin/vca-install-package
  +RUN touch                                              /usr/local/bin/vca-install-package \
  + && chmod +x                                           /usr/local/bin/vca-install-package \
  + && echo '#! /bin/sh'                               >> /usr/local/bin/vca-install-package \
  + && echo 'set -e'                                   >> /usr/local/bin/vca-install-package \
  + && echo 'pacman --noprogressbar --noconfirm -S $@' >> /usr/local/bin/vca-install-package \
  + && echo 'pacman --noprogressbar --noconfirm -Scc'  >> /usr/local/bin/vca-install-package \
  + && echo 'pacman-optimize --nocolor'                >> /usr/local/bin/vca-install-package
   
   # Create uninstall script
  -RUN touch                                                              /usr/local/bin/vca-uninstall-package && \
  -  chmod +x                                                             /usr/local/bin/vca-uninstall-package && \
  -  echo '#! /bin/sh'                                                 >> /usr/local/bin/vca-uninstall-package && \
  -  echo 'set -e'                                                     >> /usr/local/bin/vca-uninstall-package && \
  -  echo 'pacman --noprogressbar -Rsn --noconfirm $@'                 >> /usr/local/bin/vca-uninstall-package && \
  -  echo 'if [ ! -z "$(pacman -Qtdq)" ]; then'                        >> /usr/local/bin/vca-uninstall-package && \
  -  echo '  pacman --noprogressbar --noconfirm -Rns $(pacman -Qtdq);' >> /usr/local/bin/vca-uninstall-package && \
  -  echo 'fi'                                                         >> /usr/local/bin/vca-uninstall-package && \
  -  echo 'pacman-optimize --nocolor'                                  >> /usr/local/bin/vca-uninstall-package
  +RUN touch                                                                /usr/local/bin/vca-uninstall-package \
  + && chmod +x                                                             /usr/local/bin/vca-uninstall-package \
  + && echo '#! /bin/sh'                                                 >> /usr/local/bin/vca-uninstall-package \
  + && echo 'set -e'                                                     >> /usr/local/bin/vca-uninstall-package \
  + && echo 'pacman --noprogressbar -Rsn --noconfirm $@'                 >> /usr/local/bin/vca-uninstall-package \
  + && echo 'if [ ! -z "$(pacman -Qtdq)" ]; then'                        >> /usr/local/bin/vca-uninstall-package \
  + && echo '  pacman --noprogressbar --noconfirm -Rns $(pacman -Qtdq);' >> /usr/local/bin/vca-uninstall-package \
  + && echo 'fi'                                                         >> /usr/local/bin/vca-uninstall-package \
  + && echo 'pacman-optimize --nocolor'                                  >> /usr/local/bin/vca-uninstall-package
  
positive.code: FROM vcatechnology/base-archlinux:latest
  MAINTAINER VCA Technology <developers@vcatechnology.com>
  
  # Build-time metadata as defined at http://label-schema.org
  
negative.code: 
  # Remove orphaned packages
  RUN if [ ! -z "$(pacman -Qtdq)" ]; then \
        pacman --noconfirm -Rns $(pacman -Qtdq); \
      fi
  
  # Clear pacman caches
  RUN pacman --noconfirm -Scc
  