anchor.diff:      vim \
       zip
   
  +# install spark dependencies
  +RUN apt-get install -y \
  +    openjdk-8-doc \
  +    openjdk-8-jdk \
  +    openjdk-8-jdk-headless \
  +    openjdk-8-jre \
  +    openjdk-8-jre-headless \
  +    scala=2.11.6-6 \
  +    scala-doc \
  +    scala-library \
  +    scala-mode-el \
  +    scala-parser-combinators \
  +    scala-xml \
  +    scalapack-doc \
  +    scalapack-mpi-test \
  +    scalapack-pvm-test \
  +    scalapack-test-common \
  +    maven \
  +    libnetlib-java
  +
   # create some directories that we may expect to exist
   RUN mkdir -p /opt/kairos \
     && mkdir -p /opt/kairos/etc \
  
positive.code:   && rm packer.zip
  
  # install the same system loadout as the kairos-base production image
  RUN apt-get install -y \
      libgdal1-dev \
      nginx-full \
      python3 \
  
negative.code: 
  
  RUN wget -q $SPARK_DOWNLOAD_URL -O $SPARK_ARCHIVE && \
      cat $SPARK_ARCHIVE | (cd /opt/kairos/lib ; tar xzf -) && \
      mv /opt/kairos/lib/${SPARK_DIST} /opt/kairos/lib/spark
  
  # add Spark to the python path - this exact path changes with each Spark version
  ENV PYTHONPATH ${SPARK_HOME}/python/lib/py4j-0.10.3-src.zip:${SPARK_HOME}/python/
  
  RUN apt-get -y remove virtualenv && pip2 install virtualenv
  
  