anchor.diff:  RUN usermod -u 1000 www-data
   
   # PHP-FPM packages need a nudge to make them docker-friendly
  -COPY overrides.conf /etc/php/7.1/fpm/pool.d/z-overrides.conf
  +COPY overrides.conf /etc/php/$PHP_VERSION/fpm/pool.d/z-overrides.conf
   
   # PHP-FPM has really dirty logs, certainly not good for dockerising
   # The following startup script contains some magic to clean these up
  
positive.code: 
  # Install dotdeb repo, PHP7, composer and selected extensions
  RUN apt-get update \
      && apt-get -y --no-install-recommends install php7.1-cli php7.1-apcu php7.1-apcu-bc php7.1-curl \
          php7.1-json php7.1-mcrypt php7.1-opcache php7.1-readline php7.1-xml php7.1-zip \
  #    && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
  #    && apt-get clean \
  #    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* ~/.composer
   
  CMD ["php", "-a"]
  
  # If you'd like to be able to use this container on a docker-compose environment as a quiescent PHP CLI container
  # you can /bin/bash into, override CMD with the following - bear in mind that this will make docker-compose stop
  
negative.code: 
  # Install selected extensions and other stuff
  RUN apt-get update \
      && apt-get -y --no-install-recommends install  php$PHP_VERSION-gd php$PHP_VERSION-mbstring php$PHP_VERSION-memcached php$PHP_VERSION-mongodb php$PHP_VERSION-pgsql php$PHP_VERSION-imagick php$PHP_VERSION-ssh2 \
      && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
  
  
  # Install selected debug extensions and other stuff
  RUN apt-get update \
      && apt-get -y --no-install-recommends install  php$PHP_VERSION-xdebug \
      && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
  
  # Install composer and selected extensions
  RUN apt-get update \
      && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
      && apt-get clean \
      && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* ~/.composer
  
  WORKDIR "/var/www/cre"