anchor.diff:  RUN ./install-cluster.sh
   
   ADD start.sh .
  +RUN chmod +x start.sh
   CMD ./start.sh
  
positive.code: RUN sed  -i "/^[^#]*UsePAM/ s/.*/#&/"  /etc/ssh/sshd_config
  RUN echo "UsePAM no" >> /etc/ssh/sshd_config
  
  RUN wget http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.1.0/hdp.list -O /etc/apt/sources.list.d/hdp.list
  RUN apt-get update
  RUN apt-get -y install hadoop hadoop-hdfs libhdfs0 hadoop-yarn hadoop-mapreduce hadoop-client openssl
  RUN apt-get -y install liblzo2-2 liblzo2-dev hadooplzo zookeeper
  
  
negative.code: FROM ubuntu:14.04
  
  RUN apt-get -y update && apt-get -y upgrade
  RUN apt-get -y install wget screen vim initscripts iputils-ping net-tools openssh-server
  
  RUN wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.5.1.0/ambari.list
  RUN wget http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.1.0/hdp.list -O /etc/apt/sources.list.d/hdp.list
  RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
  RUN apt-get update
  RUN apt-get -y install ambari-server
  RUN ambari-server setup -s
  RUN apt-get -y install ambari-agent
  
  # RUN curl -o /tmp/ambari-shell.jar https://s3-eu-west-1.amazonaws.com/maven.sequenceiq.com/releases/com/sequenceiq/ambari-shell/0.1.31/ambari-shell-0.1.31.jar
  ADD ambari-shell-0.1.31.jar /tmp/ambari-shell.jar
  