Non-containerized build for istio-proxy tag 1.4.3 on RHEL 7 ppc64le fails


While building istio-proxy tag 1.4.3 on RHEL 7 ppc64le, with a minor change to the Makefile to add support for ppc64le, I passed BUILD_WITH_CONTAINER with value 0 to the make command as: make BUILD_WITH_CONTAINER=0 build . The corresponding message from the Makefile (Building with your local toolchain) was printed on the console too. However, the bazel build was still trying to resolve docker_dependencies and was failing to fetch those (screenshot attached).

In order to overcome that, I removed all docker dependencies from WORKSPACE file and removed the file tools/docker/BUILD post which the build succeeded after a few hiccups. Is this patch (or conditionally adding those packages to .bazelignore for ppc64le) the correct way to resolve the issue or did I miss some parameter that needs to be passed to make? Would appreciate some suggestions/pointers on this.

Amit Sadaphule