anchor.diff:  ARG BIGDL_VERSION
   ARG ANALYTICS_ZOO_VERSION
   
  -ENV SPARK_VERSION		${SPARK_VERSION}
  -ENV BIGDL_VERSION		${BIGDL_VERSION}
  +ENV SPARK_VERSION               ${SPARK_VERSION}
  +ENV BIGDL_VERSION               ${BIGDL_VERSION}
   ENV ANALYTICS_ZOO_VERSION               ${ANALYTICS_ZOO_VERSION}
   ENV ANALYTICS_ZOO_HOME                  /opt/analytics-zoo-${ANALYTICS_ZOO_VERSION}
   
  
positive.code:     mv /opt/analytics-zoo-examples/python/zoo/examples/* /opt/analytics-zoo-examples/python && \
      rm -rf /opt/analytics-zoo-examples/python/zoo/examples
  
  # stage.3 redis
  FROM ubuntu:18.04 as redisenv
  #redis
  RUN apt-get update --fix-missing && \
      apt-get install -y apt-utils wget && \
      apt-get install -y gcc g++ make
  RUN wget http://download.redis.io/releases/redis-5.0.5.tar.gz && \
      tar xzf redis-5.0.5.tar.gz -C /opt && \
      rm redis-5.0.5.tar.gz && \
      cd /opt/redis-5.0.5 && \
      make && \
      echo "bind 0.0.0.0" >> /opt/redis-5.0.5/redis.conf && \
      cd ..
  
  # stage.4 
  FROM ubuntu:18.04
  MAINTAINER The Analytics-Zoo Authors https://github.com/intel-analytics/analytics-zoo
  ARG ANALYTICS_ZOO_VERSION
  
negative.code:     pip install --no-cache-dir opencv-python && \
      pip install --no-cache-dir pyyaml && \
      pip install --no-cache-dir redis && \
      pip install --no-cache-dir ray[tune]==1.2.0 && \
      pip install --no-cache-dir Pillow==6.1 && \
      pip install --no-cache-dir psutil aiohttp && \
      pip install --no-cache-dir py4j && \
      pip install --no-cache-dir cmake==3.16.3 && \
  # chmod
      chmod a+x /opt/start-notebook-spark.sh && \
      chmod a+x /opt/start-notebook-k8s.sh && \
      chmod +x /sbin/tini
  
  