anchor.diff:      chmod a+x /ppml/trusted-big-data-ml/work/start-scripts/start-spark-local-xgboost-regressor-sgx.sh && \
       chmod a+x /ppml/trusted-big-data-ml/work/start-scripts/start-spark-local-xgboost-classifier-sgx.sh && \
       chmod a+x /ppml/trusted-big-data-ml/work/start-scripts/start-spark-local-orca-data-sgx.sh && \
  -    chmod a+x /ppml/trusted-big-data-ml/work/start-scripts/start-spark-local-orca-tf-text.sh
  +    chmod a+x /ppml/trusted-big-data-ml/work/start-scripts/start-spark-local-orca-tf-text.sh && \
  +    chmod a+x /ppml/trusted-big-data-ml/work/test-suits/pyspark-e2e-example.sh && \
  +    chmod a+x /ppml/trusted-big-data-ml/work/test-suits/pyspark-simple-examples.sh && \
  +    chmod a+x /ppml/trusted-big-data-ml/work/test-suits/pyspark-sql-api-examples.sh && \
  +    chmod a+x /ppml/trusted-big-data-ml/work/test-suits/pyspark-sql-examples.sh
   
   # kuberenetes support
   ADD ./spark-executor-template.yaml /ppml/trusted-big-data-ml/spark-executor-template.yaml
  
positive.code: ARG TINI_VERSION=v0.18.0
  ARG JDK_VERSION=8u192
  ARG JDK_URL=your_jdk_url
  ARG GITHUB_USERNAME=your_github_username
  ARG GITHUB_TOKEN=your_github_token
  
  # stage.1 graphene
  FROM ubuntu:18.04 AS graphene
  
negative.code:     rm spark-${SPARK_VERSION}-bin-hadoop3.2.tgz && \
      cp spark-${SPARK_VERSION}/conf/log4j.properties.template spark-${SPARK_VERSION}/conf/log4j.properties && \
      echo $'\nlog4j.logger.io.netty=ERROR' >> spark-${SPARK_VERSION}/conf/log4j.properties && \
      rm spark-${SPARK_VERSION}/python/lib/pyspark.zip && \
      rm spark-${SPARK_VERSION}/jars/spark-core_2.12-$SPARK_VERSION.jar && \
      rm spark-${SPARK_VERSION}/jars/spark-kubernetes_2.12-$SPARK_VERSION.jar && \
      rm spark-${SPARK_VERSION}/jars/spark-network-common_2.12-$SPARK_VERSION.jar && \
      rm spark-${SPARK_VERSION}/jars/hadoop-common-3.2.0.jar && \
      rm spark-${SPARK_VERSION}/jars/hive-exec-2.3.7-core.jar
  # spark modification
  RUN cd /opt && \
      wget $SPARK_JAR_REPO_URL/spark-core_2.12-$SPARK_VERSION.jar && \
      wget $SPARK_JAR_REPO_URL/spark-kubernetes_2.12-$SPARK_VERSION.jar && \
      wget $SPARK_JAR_REPO_URL/spark-network-common_2.12-$SPARK_VERSION.jar && \
      wget $SPARK_JAR_REPO_URL/pyspark.zip && \
      mv /opt/spark-core_2.12-$SPARK_VERSION.jar  /opt/spark-${SPARK_VERSION}/jars/spark-core_2.12-$SPARK_VERSION.jar && \
      mv /opt/spark-kubernetes_2.12-$SPARK_VERSION.jar /opt/spark-${SPARK_VERSION}/jars/spark-kubernetes_2.12-$SPARK_VERSION.jar && \
      mv /opt/spark-network-common_2.12-$SPARK_VERSION.jar /opt/spark-${SPARK_VERSION}/jars/spark-network-common_2.12-$SPARK_VERSION.jar && \
      mv /opt/pyspark.zip /opt/spark-${SPARK_VERSION}/python/lib/pyspark.zip
  # hadoop
  RUN cd /opt && \
      apt-get install -y build-essential && \
  