We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 072992f commit 4c93b68Copy full SHA for 4c93b68
flink-end-to-end-tests/test-scripts/common_docker.sh
@@ -35,7 +35,9 @@ function containers_health_check() {
35
36
function build_image() {
37
local image_name=${1:-flink-job}
38
- local file_server_address=${2:-localhost}
+ local default_file_server_address="localhost"
39
+ [[ "${OS_TYPE}" != "linux" ]] && default_file_server_address="host.docker.internal"
40
+ local file_server_address=${2:-${default_file_server_address}}
41
42
echo "Starting fileserver for Flink distribution"
43
pushd ${FLINK_DIR}/..
0 commit comments