Fix `make docker` related target on MacOS (#36055)
Fix `make docker` related target on MacOS (#36055)

* Fix `make docker` related target on MacOS

* Fix rebase

* Only use LOCAL_OUT if set

* Update to use local variables so as not to polute the make

* Some cleanup

* Remove extra logging
istio/istio,istio/istio,istio/istio,istio/istio,istio/istio