anchor.diff:  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
  +RUN sed -i.bak 's/listener.http.internal = 127.0.0.1/listener.http.internal = 0.0.0.0/' /etc/riak/riak.conf && \
  +    sed -i.bak 's/listener.protobuf.internal = 127.0.0.1/listener.protobuf.internal = 0.0.0.0/' /etc/riak/riak.conf && \
  +    echo "anti_entropy.concurrency_limit = 1" >> /etc/riak/riak.conf && \
  +    echo "javascript.map_pool_size = 0" >> /etc/riak/riak.conf && \
  +    echo "javascript.reduce_pool_size = 0" >> /etc/riak/riak.conf && \
  +    echo "javascript.hook_pool_size = 0" >> /etc/riak/riak.conf
   
   # Make Riak's data and log directories volumes
   VOLUME /var/lib/riak
  
positive.code: # Riak
  #
  # VERSION       0.5.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
  
  # 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")
  
  # Setup the Riak service
  RUN mkdir -p /etc/service/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
  