anchor.diff:  # Riak
   #
  -# VERSION       0.5.0
  +# VERSION       1.0.0
   
   FROM phusion/baseimage:0.9.13
   MAINTAINER Jainish Shah Jainish.shah@getzephyr.com
   
   # Environmental variables
   ENV DEBIAN_FRONTEND noninteractive
  -ENV RIAK_VERSION 1.4.10
  -ENV RIAK_SHORT_VERSION 1.4
  +ENV RIAK_VERSION 2.0.0rc1-1
  +
  +# Install Java 7
  +RUN sed -i.bak 's/main$/main universe/' /etc/apt/sources.list
  +RUN apt-get update -qq && apt-get install -y python-software-properties && \
  +    apt-add-repository ppa:webupd8team/java -y && apt-get update -qq && \
  +    echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
  +    apt-get install -y oracle-java7-installer -y
   
   # Install Riak
  -ADD http://s3.amazonaws.com/downloads.basho.com/riak/${RIAK_SHORT_VERSION}/${RIAK_VERSION}/ubuntu/precise/riak_${RIAK_VERSION}-1_amd64.deb /
  -RUN (cd / && dpkg -i "riak_${RIAK_VERSION}-1_amd64.deb")
  +RUN curl https://packagecloud.io/install/repositories/basho/riak/script.deb | bash
  +RUN apt-get install riak -y
   
   # Setup the Riak service
   RUN mkdir -p /etc/service/riak
  
positive.code: ADD bin/automatic_clustering.sh /etc/my_init.d/99_automatic_clustering.sh
  
  # Tune Riak configuration settings for the container
  RUN sed -i.bak 's/127.0.0.1/0.0.0.0/' /etc/riak/app.config && \
      sed -i.bak 's/{anti_entropy_concurrency, 2}/{anti_entropy_concurrency, 1}/' /etc/riak/app.config && \
      sed -i.bak 's/{map_js_vm_count, 8 }/{map_js_vm_count, 0 }/' /etc/riak/app.config && \
      sed -i.bak 's/{reduce_js_vm_count, 6 }/{reduce_js_vm_count, 0 }/' /etc/riak/app.config && \
      sed -i.bak 's/{hook_js_vm_count, 2 }/{hook_js_vm_count, 0 }/' /etc/riak/app.config && \
      sed -i.bak "s/##+zdbbl/+zdbbl/" /etc/riak/vm.args
  
  # Make Riak's data and log directories volumes
  VOLUME /var/lib/riak
  
negative.code: RUN /usr/sbin/enable_insecure_key
  
  # Cleanup
  RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
  # Leverage the baseimage-docker init system
  