diff --git a/kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image/create-domain.sh b/kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image/create-domain.sh index 46dbb85ac18..8ed6a4d219a 100755 --- a/kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image/create-domain.sh +++ b/kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image/create-domain.sh @@ -113,8 +113,8 @@ initOutputDir() { # try to execute image builder to see whether it is available validateImageBuilderAvailable() { - if ! [ -x "$(command -v ${WLSIMG_BUILDER})" ]; then - validationError "${WLSIMG_BUILDER} is not installed" + if ! [ -x "$(command -v ${WLSIMG_BUILDER:-docker})" ]; then + validationError "${WLSIMG_BUILDER:-docker} is not installed" fi }