anchor.diff:      echo 'deb [trusted=yes arch=amd64] file:///opt/intel/sgx_debian_local_repo focal main' | tee /etc/apt/sources.list.d/intel-sgx.list && \
       wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - && \
       apt-get update && \
  -    apt-get install -y libsgx-enclave-common-dev  libsgx-ae-qe3 libsgx-ae-qve libsgx-urts libsgx-dcap-ql libsgx-dcap-default-qpl libsgx-dcap-quote-verify-dev libsgx-dcap-ql-dev libsgx-dcap-default-qpl-dev libsgx-quote-ex-dev libsgx-uae-service libsgx-ra-network libsgx-ra-uefi
  -
  +    apt-get install -y libsgx-enclave-common-dev  libsgx-ae-qe3 libsgx-ae-qve libsgx-urts libsgx-dcap-ql libsgx-dcap-default-qpl libsgx-dcap-quote-verify-dev libsgx-dcap-ql-dev libsgx-dcap-default-qpl-dev libsgx-quote-ex-dev libsgx-uae-service libsgx-ra-network libsgx-ra-uefi && \
   # java
  -ARG JDK_VERSION=8u192
  -ARG JDK_URL
  -ARG SPARK_VERSION=3.1.3
  -ENV SPARK_VERSION ${SPARK_VERSION}
  -ENV JAVA_HOME           /opt/jdk$JDK_VERSION
  -ENV PATH                ${JAVA_HOME}/bin:${PATH}
  -RUN wget $JDK_URL && \
  +    cd /opt && \
  +    wget $JDK_URL && \
       gunzip jdk-$JDK_VERSION-linux-x64.tar.gz && \
       tar -xf jdk-$JDK_VERSION-linux-x64.tar -C /opt && \
       rm jdk-$JDK_VERSION-linux-x64.tar && \
  -    mv /opt/jdk* /opt/jdk$JDK_VERSION && \
  -    ln -s /opt/jdk$JDK_VERSION /opt/jdk
  +    mv /opt/jdk* /opt/jdk8 && \
  +    ln -s /opt/jdk8 /opt/jdk
   
   ADD ./download_jars.sh /ppml
   
  
positive.code: ARG https_proxy
  ARG no_proxy
  ARG BIGDL_VERSION
  
  ENV BIGDL_VERSION                       ${BIGDL_VERSION}
  ENV LOCAL_IP                            127.0.0.1
  
negative.code: ENV SGX_LOG_LEVEL                       error
  ENV LC_ALL                              C.UTF-8
  ENV LANG                                C.UTF-8
  ENV JAVA_HOME                           /opt/jdk8
  ENV PATH                                ${JAVA_HOME}/bin:${PATH}
  
  RUN mkdir -p /ppml/
  
  