anchor.diff:  RUN \
       apt-key adv --keyserver pgp.mit.edu --recv-key 799058698E65316A2E7A4FF42EAE1437F7D2C623 && \
       echo "deb http://repos.zend.com/zend-server/8.0.0-beta/deb_apache2.4 server non-free" >> /etc/apt/sources.list.d/zend-server.list && \
  -    apt-get update && \
  -    apt-get install -q -y zend-server-php-5.5 && \
  -    apt-get install -q -y autoconf make && \
  +    apt-get update && apt-get install -y autoconf make zend-server-php-5.5 && \
       yes "" | /usr/local/zend/bin/pecl install mongo && \
       /usr/local/zend/bin/zendctl.sh stop
   
  
positive.code: RUN \
      apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && \
      echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' >> /etc/apt/sources.list.d/mongodb.list && \
      apt-get update && \
      apt-get install -q -y mongodb-org && \
      rm -rf /var/lib/apt/lists/*
  
  VOLUME ["/data/db"]
  
negative.code: ########## Zend Server installation - END ##########
  
  ########## Varnish installation - START ##########
  RUN apt-get update && apt-get install -y \
      automake \
      autotools-dev \
      apt-transport-https \
      curl \
      dpkg-dev \
      git \
      libedit-dev \
      libjemalloc-dev \
      libncurses-dev \
      libpcre3-dev \
      libtool \
      libvarnishapi-dev \
      make \
      pkg-config \
      python-docutils \
      python-sphinx \
      graphviz
  
  RUN \
      curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add - && \
      echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-3.0" >> /etc/apt/sources.list.d/varnish-cache.list && \
      apt-get install -y varnish
  
  RUN \
      apt-get source varnish=3.0.5 && cd /varnish-3.0.5 && ./autogen.sh && ./configure && make && \
      git clone https://github.com/varnish/libvmod-header.git /varnish-libvmod && cd /varnish-libvmod && git checkout 3.0 && \
      ./autogen.sh && ./configure VARNISHSRC=/varnish-3.0.5 && make && make install && \
      cd && rm -rf /varnish*
  
  EXPOSE 80
  ########## Varnish installation - END ##########
  