anchor.diff:      # RUN make $MAKE_JOBS install
   
       # Bazel download and install
  -    cd /tmp && \
  -    wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip && \
  -    mkdir bazel-${BAZEL_VERSION} && \
  -    unzip -qd bazel-${BAZEL_VERSION} bazel-${BAZEL_VERSION}-dist.zip && \
  -    cd /tmp/bazel-${BAZEL_VERSION} && \
  -    sed -i -e 's/-classpath/-J-Xmx8192m -J-Xms128m -classpath/g' scripts/bootstrap/compile.sh && \
  -    bash compile.sh && \
  -    cp -p output/bazel /usr/bin/ && \
  +    # cd /tmp && \
  +    # wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip && \
  +    # mkdir bazel-${BAZEL_VERSION} && \
  +    # unzip -qd bazel-${BAZEL_VERSION} bazel-${BAZEL_VERSION}-dist.zip && \
  +    # cd /tmp/bazel-${BAZEL_VERSION} && \
  +    # sed -i -e 's/-classpath/-J-Xmx8192m -J-Xms128m -classpath/g' scripts/bootstrap/compile.sh && \
  +    # bash compile.sh && \
  +    # cp -p output/bazel /usr/bin/ && \
  +
  +    # GNU libc (aka glibc)
  +    # cd /tmp && \
  +    # ALPINE_GLIBC_BASE_URL="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" && \
  +    # ALPINE_GLIBC_PACKAGE_VERSION="2.30-r0" && \
  +    # ALPINE_GLIBC_BASE_PACKAGE_FILENAME="glibc-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && \
  +    # ALPINE_GLIBC_BIN_PACKAGE_FILENAME="glibc-bin-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && \
  +    # ALPINE_GLIBC_I18N_PACKAGE_FILENAME="glibc-i18n-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && \
  +    # echo \
  +    #     "-----BEGIN PUBLIC KEY-----\
  +    #     MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZ2u1KJKUu/fW4A25y9m\
  +    #     y70AGEa/J3Wi5ibNVGNn1gT1r0VfgeWd0pUybS4UmcHdiNzxJPgoWQhV2SSW1JYu\
  +    #     tOqKZF5QSN6X937PTUpNBjUvLtTQ1ve1fp39uf/lEXPpFpOPL88LKnDBgbh7wkCp\
  +    #     m2KzLVGChf83MS0ShL6G9EQIAUxLm99VpgRjwqTQ/KfzGtpke1wqws4au0Ab4qPY\
  +    #     KXvMLSPLUp7cfulWvhmZSegr5AdhNw5KNizPqCJT8ZrGvgHypXyiFvvAH5YRtSsc\
  +    #     Zvo9GI2e2MaZyo9/lvb+LbLEJZKEQckqRj4P26gmASrZEPStwc+yqy1ShHLA0j6m\
  +    #     1QIDAQAB\
  +    #     -----END PUBLIC KEY-----" | sed 's/   */\n/g' > "/etc/apk/keys/sgerrand.rsa.pub" && \
  +    # wget \
  +    #     "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" \
  +    #     "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" \
  +    #     "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && \
  +    # apk add --no-cache \
  +    #     "$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" \
  +    #     "$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" \
  +    #     "$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && \
  +    # rm "/etc/apk/keys/sgerrand.rsa.pub" && \
  +    # # ls -la /usr/glibc-compat/lib && \
  +    # export LD_LIBRARY_PATH=/usr/glibc-compat/lib:$LD_LIBRARY_PATH && \
  +    # # ls -la /usr/glibc-compat && \
  +    # # ls -la /usr/glibc-compat/sbin && \
  +    # # /usr/glibc-compat/sbin/ldconfig -p && \
  +    # # ldconfig && \
  +    # # /usr/glibc-compat/bin/localedef --force --inputfile POSIX --charmap UTF-8 "$LANG" || true && \
  +    # # echo "export LANG=$LANG" > /etc/profile.d/locale.sh && \
  +    # # apk del glibc-i18n && \
   
       # Install right GCC version
       # cd /tmp && \
  
positive.code:         --local_resources=${LOCAL_RESOURCES} \
          --verbose_failures \
          //tensorflow/tools/pip_package:build_pip_package && \
      bazel build --config=mkl \
          --config=opt \
          --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mavx512f --copt=-mavx512pf --copt=-mavx512cd --copt=-mavx512er \
          # --copt=-march="native" \
          # --copt=-march="skylake-avx512" \
          --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
          --local_resources=${LOCAL_RESOURCES} \
          --verbose_failures \
          //tensorflow/tools/pip_package:build_pip_package && \
      ./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkgs && \
  
      # Cleanup
      rm -rf /var/cache/apk/* && \
      rm -rf /tmp/* && \
  
      rm -r /root/.cache && \
      find /usr/lib/python3.*/ -name 'tests' -exec rm -r '{}' + && \
      find /usr/lib/python3.*/site-packages/ -name '*.so' -print -exec sh -c 'file "{}" | grep -q "not stripped" && strip -s "{}"' \; \
          && \
  
      rm /usr/include/xlocale.h \
          && \
      apk del .build-dependencies
  
negative.code: 
      # Tensorflow with Intel MKL-DNN for AWS EC2 M5 instnace with Xeon Skylake SP processor (support AVX-512)
      cd /tmp && \
      apk --no-cache add \
          --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
          hdf5 && \
      apk --no-cache add --virtual .build-edge-deps \
          --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
          hdf5-dev && \
      pip3 install h5py && \
      pip3 install --no-cache-dir wheel && \
      pip3 install keras_applications==1.0.6 --no-deps && \
      pip3 install keras_preprocessing==1.0.5 --no-deps && \
      pip3 install h5py==2.8.0 && \
      wget -O tensorflow-${TENSORFLOW_VERSION}.tar.gz https://github.com/tensorflow/tensorflow/archive/v${TENSORFLOW_VERSION}.tar.gz && \
      tar xzf tensorflow-${TENSORFLOW_VERSION}.tar.gz && \
      cd /tmp/tensorflow-${TENSORFLOW_VERSION} && \
      # : musl-libc does not have "secure_getenv" function && \
      # sed -i -e '/JEMALLOC_HAVE_SECURE_GETENV/d' third_party/jemalloc.BUILD && \
      sed -i -e '/define TF_GENERATE_BACKTRACE/d' tensorflow/core/platform/default/stacktrace.h && \
      sed -i -e '/define TF_GENERATE_STACKTRACE/d' tensorflow/core/platform/stacktrace_handler.cc && \
      TF_NEED_JEMALLOC=1 \
      TF_NEED_IGNITE=0 \
      TF_NEED_GCP=0 \
  