FLINK-17656, we migrate all the e2e tests from flink-container/docker to apache/flink-docker. After the migration, when building a docker image, we need to start a file server and then download it in the Dockerfile.
It works well in linux environment since the minikube is started in "vm-driver=none". However, it is not true in the Mac. We usually start a virtual machine for minikube and this will make "localhost" could not work.
So i suggest to support local Flink dist when building the docker image, not always need to download from a URL.