anchor.diff:  WORKDIR /root/onos
   
   # Set JAVA_HOME (by default not exported by zulu images)
  -ARG JDK_VER
  -ENV JAVA_HOME /usr/lib/jvm/zulu-${JDK_VER}-amd64
  +ARG JAVA_PATH
  +ENV JAVA_HOME ${JAVA_PATH}
   
   # Ports
   # 6653 - OpenFlow
  
positive.code: RUN tar -xf bazel-bin/onos.tar.gz -C /output --strip-components=1
  
  # Second and final stage is the runtime environment.
  FROM azul/zulu-openjdk:${JDK_VER}
  
  LABEL org.label-schema.name="ONOS" \
        org.label-schema.description="SDN Controller" \
  
negative.code: # updated JDK, including bug and security fixes, independently of the Bazel
  # version.
  ARG JOBS
  ARG JAVA_PATH
  ARG PROFILE
  RUN bazel build onos \
      --jobs ${JOBS} \
      --verbose_failures \
      --javabase=@bazel_tools//tools/jdk:absolute_javabase \
      --host_javabase=@bazel_tools//tools/jdk:absolute_javabase \
      --define=ABSOLUTE_JAVABASE=${JAVA_PATH} \
      --define profile=${PROFILE}
  
  # We extract the tar in the build environment to avoid having to put the tar in
  