anchor.diff:  FROM inthecloud247/kdocker-ubuntu
   MAINTAINER inthecloud247 "inthecloud247@gmail.com"
  -
  -ENV LAST_UPDATED 2013-12-26
   
   # Dev Packages (very large.)
   RUN \
  
positive.code:   \
    `# Add LOGSERVER ip address to hekad config`; \
    LOGSERVER_IP=$(/sbin/ip route | awk '/default/ { print $3; }'); \
    sed -i "s/{{LOGSERVER_IP}}/$LOGSERVER_IP/g" /etc/hekad/aggregator_output.toml;
  
  # cleanup
  RUN \
    `# CLEANUP`; \
    rm -vrf /setupfiles;
  
  
  
  # expose ports, add volumes and execute the CMD script
  EXPOSE 22
  EXPOSE 5565
  VOLUME [ "/data" ]
  CMD ["/usr/bin/supervisord", "--nodaemon"]
negative.code:   `# Create cache directory`; \
    DIR_CACHE="/setupfiles/cache/"; \
    mkdir -vp $DIR_CACHE; \
    \
    `############################`; \
    `# put custom commands here`; \
    `############################`; \
    `# Install hekad`; \
    DL_PROTO="https://"; \
    DL_FILE="github.com/mozilla-services/heka/releases/download/v0.4.2/heka_0.4.2_amd64.deb"; \
  