anchor.diff:  
   ENV SPARK_PROFILE 2.1
   ENV SPARK_VERSION 2.1.1
  +ENV FLINK_VERSION 1.3.1
   ENV HADOOP_PROFILE 2.7
   ENV HADOOP_VERSION 2.7.0
   ENV SPARK_HOME /usr/local/spark/
  
positive.code: 
  #supervisor
  EXPOSE 9001
  
  #start
  ENTRYPOINT ["/etc/entrypoint.sh"]
  
negative.code: 
  # install spark
  RUN curl -s http://www.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE.tgz | tar -xz -C /usr/local/
  RUN curl -s spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE.tgz | tar -xz -C /usr/local/
  RUN cd /usr/local && ln -s spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE spark
  
  
  RUN cp $SPARK_HOME/conf/spark-env.sh.template $SPARK_HOME/conf/spark-env.sh
  RUN cp $SPARK_HOME/conf/spark-defaults.conf.template $SPARK_HOME/conf/spark-defaults.conf
  
  #spark
  EXPOSE 8080 7077 7072 8081 8082
  