anchor.diff:  ## Search
   EXPOSE 8985 8093
   
  +VOLUME /var/lib/riak
  +
   # Clean up APT when done.
   RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
positive.code: CMD ["/sbin/my_init"]
  
  # Environmental variables
  ENV RIAK_VERSION 2.0.6
  
  # Install Java 7
  RUN sed -i.bak 's/main$/main universe/' /etc/apt/sources.list
  
negative.code: # Add run script
  COPY scripts/run /etc/service/riak/run
  RUN chmod 755 /etc/service/riak/run
  
  ## Set configs
  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 "erlang.distribution.port_range.minimum = 6000" >> /etc/riak/riak.conf && \
  echo "erlang.distribution.port_range.maximum = 7999" >> /etc/riak/riak.conf && \
  echo "search = on" >> /etc/riak/riak.conf
  
  # Expose ports
  
  