anchor.diff:      && docker-php-ext-install mcrypt \
       && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
       && docker-php-ext-install gd \
  -    && apt-get clean \
  -    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  +    && apt-get remove -y gcc \
  +    && apt-get autoremove -y \
  +    && apt-get clean \ 
  +    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/src/* /usr/share/doc/*
   
   #------------------------------------------------------------------
   # add cops sources
  
positive.code: # COPS: https://github.com/seblucas/cops
  ###################################################################
  #
  # NOTE: the official base image for PHP seems to be quite heavy
  #       with its 440 MB, but it comes with the complete sources
  #       and build environment installed.
  #       This is VERY useful when you need to install some more
  #       extensions like we have to do in our case.
  #
  # TODO: minimize it after everything is setup correctly
  #       (this will require an export of the final filesystem
  #        and the generation of new 'history-free' image)
  #
  ###################################################################
  
  
negative.code: MAINTAINER Tom Nussbaumer <thomas.nussbaumer@gmx.net>
  
  #------------------------------------------------------------------
  # extension gd is missing.
  # install it, build php and do some very quick and very very dirty 
  # cleanup (i.e. removing complete sources, docs)
  #------------------------------------------------------------------
  RUN apt-get update && apt-get install -y \
          libfreetype6-dev \
  