anchor.diff:   && apt-get install -y r-base-dev \
   
   # Logstash
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/logstash-1.5.3.tar.gz \
  - && tar xvzf logstash-1.5.3.tar.gz \
  - && rm logstash-1.5.3.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/logstash-${LOGSTASH_VERSION}.tar.gz \
  + && tar xvzf logstash-${LOGSTASH_VERSION}.tar.gz \
  + && rm logstash-${LOGSTASH_VERSION}.tar.gz \
   
   # Kibana
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/kibana-4.1.1-linux-x64.tar.gz \
  - && tar xvzf kibana-4.1.1-linux-x64.tar.gz \
  - && rm kibana-4.1.1-linux-x64.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/kibana-${KIBANA_VERSION}-linux-x64.tar.gz \
  + && tar xvzf kibana-${KIBANA_VERSION}-linux-x64.tar.gz \
  + && rm kibana-${KIBANA_VERSION}-linux-x64.tar.gz \
   
   # Apache Cassandra
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/apache-cassandra-2.2.0-bin.tar.gz \
  - && tar xvzf apache-cassandra-2.2.0-bin.tar.gz \
  - && rm apache-cassandra-2.2.0-bin.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/apache-cassandra-${KIBANA_VERSION}-bin.tar.gz \
  + && tar xvzf apache-cassandra-${KIBANA_VERSION}-bin.tar.gz \
  + && rm apache-cassandra-${KIBANA_VERSION}-bin.tar.gz \
   
   # Apache Kafka (Confluent Distribution)
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/confluent-1.0-2.10.4.tar.gz \
  - && tar xvzf confluent-1.0-2.10.4.tar.gz \
  - && rm confluent-1.0-2.10.4.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/confluent-${CONFLUENT_VERSION}-${SCALA_VERSION}.tar.gz \
  + && tar xvzf confluent-${CONFLUENT_VERSION}-${SCALA_VERSION}.tar.gz \
  + && rm confluent-${CONFLUENT_VERSION}-${SCALA_VERSION}.tar.gz \
   
   # ElasticSearch
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/elasticsearch-1.7.1.tar.gz \
  - && tar xvzf elasticsearch-1.7.1.tar.gz \
  - && rm elasticsearch-1.7.1.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz \
  + && tar xvzf elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz \
  + && rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz \
   
   # Apache Spark
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/spark-1.4.1-bin-fluxcapacitor.tgz \
  - && tar xvzf spark-1.4.1-bin-fluxcapacitor.tgz \
  - && rm spark-1.4.1-bin-fluxcapacitor.tgz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/spark-${SPARK_VERSION}-bin-fluxcapacitor.tgz \
  + && tar xvzf spark-${SPARK_VERSION}-bin-fluxcapacitor.tgz \
  + && rm spark-${SPARK_VERSION}-bin-fluxcapacitor.tgz \
   
   # Apache Zeppelin
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/zeppelin-0.5.1-spark-1.4.1-hadoop-2.6.0-fluxcapacitor.tar.gz \
  - && tar xvzf zeppelin-0.5.1-spark-1.4.1-hadoop-2.6.0-fluxcapacitor.tar.gz \
  - && rm zeppelin-0.5.1-spark-1.4.1-hadoop-2.6.0-fluxcapacitor.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/zeppelin-${ZEPPELIN_VERSION}-spark-${SPARK_VERSION}-hadoop-${HADOOP_VERSION}-fluxcapacitor.tar.gz \
  + && tar xvzf zeppelin-${ZEPPELIN_VERSION}-spark-${SPARK_VERSION}-hadoop-${HADOOP_VERSION}-fluxcapacitor.tar.gz \
  + && rm zeppelin-${ZEPPELIN_VERSION}-spark-${SPARK_VERSION}-hadoop-${HADOOP_VERSION}-fluxcapacitor.tar.gz \
   
   # Tachyon (Required by Spark Notebook)
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/tachyon-0.6.4-bin.tar.gz \
  - && tar xvfz tachyon-0.6.4-bin.tar.gz \
  - && rm tachyon-0.6.4-bin.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/tachyon-${TACHYON_VERSION}-bin.tar.gz \
  + && tar xvfz tachyon-${TACHYON_VERSION}-bin.tar.gz \
  + && rm tachyon-${TACHYON_VERSION}-bin.tar.gz \
   
   # Spark Notebook
    && apt-get install -y screen \
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/spark-notebook-0.6.0-scala-2.10.4-spark-1.4.1-hadoop-2.6.0-with-hive-with-parquet.tgz \
  - && tar xvzf spark-notebook-0.6.0-scala-2.10.4-spark-1.4.1-hadoop-2.6.0-with-hive-with-parquet.tgz \
  - && rm spark-notebook-0.6.0-scala-2.10.4-spark-1.4.1-hadoop-2.6.0-with-hive-with-parquet.tgz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/spark-notebook-${SPARKNOTEBOOK_VERSION}-scala-${SCALA_VERSION}-spark-${SPARK_VERSION}-hadoop-${HADOOP_VERSION}-with-hive-with-parquet.tgz \
  + && tar xvzf spark-notebook-${SPARKNOTEBOOK_VERSION}-scala-${SCALA_VERSION}-spark-${SPARK_VERSION}-hadoop-${HADOOP_VERSION}-with-hive-with-parquet.tgz \
  + && rm spark-notebook-${SPARKNOTEBOOK_VERSION}-scala-${SCALA_VERSION}-spark-${SPARK_VERSION}-hadoop-${HADOOP_VERSION}-with-hive-with-parquet.tgz \
   
   # Redis
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/redis-3.0.3.tar.gz \
  - && tar -xzvf redis-3.0.3.tar.gz \
  - && rm redis-3.0.3.tar.gz \
  - && cd redis-3.0.3 \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/redis-${REDIS_VERSION}.tar.gz \
  + && tar -xzvf redis-${REDIS_VERSION}.tar.gz \
  + && rm redis-${REDIS_VERSION}.tar.gz \
  + && cd redis-${REDIS_VERSION} \
    && make install \
    && cd ~ \
   
   # Apache Hadoop
  - && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/hadoop-2.6.0.tar.gz \
  - && tar xvzf hadoop-2.6.0.tar.gz \
  - && rm hadoop-2.6.0.tar.gz \
  + && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/hadoop-${HADOOP_VERSION}.tar.gz \
  + && tar xvzf hadoop-${HADOOP_VERSION}.tar.gz \
  + && rm hadoop-${HADOOP_VERSION}.tar.gz \
   
   # Spark Job Server
    && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/spark-jobserver-0.5.2-fluxcapacitor.tar.gz \
  - && tar xvzf spark-jobserver-0.5.2-fluxcapacitor.tar.gz \
  - && rm spark-jobserver-0.5.2-fluxcapacitor.tar.gz \
  + && tar xvzf spark-jobserver-${JOBSERVER_VERSION}-fluxcapacitor.tar.gz \
  + && rm spark-jobserver-${JOBSERVER_VERSION}-fluxcapacitor.tar.gz \
    && mkdir -p ~/pipeline/logs/spark-jobserver 
   
   RUN \
  
positive.code: # && pip install jupyter \
  
  # H2O
  && wget https://s3.amazonaws.com/fluxcapacitor.com/packages/h2o-3.0.1.7.tgz \
  && tar xzvf h2o-3.0.1.7.tgz \
  && rm h2o-3.0.1.7.tgz \
  
  # Ganglia
   && DEBIAN_FRONTEND=noninteractive apt-get install -y ganglia-monitor rrdtool gmetad ganglia-webfrontend \
  
negative.code:  && chmod a+rx *.sh \
  
  # Spark Job Server (2 of 2)
   && ln ~/pipeline/config/spark-jobserver/pipeline.sh ~/spark-jobserver-${JOBSERVER_VERSION}/config \
   && ln ~/pipeline/config/spark-jobserver/pipeline.conf ~/spark-jobserver-${JOBSERVER_VERSION}/config \
   && cd ~/spark-jobserver-${JOBSERVER_VERSION} \
   && sbt job-server-tests/package \
   && bin/server_package.sh pipeline \
   && cp /tmp/job-server/* . \
  