### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

`PORTS_CHECK_DOCKER_IMAGE` is not configurable which prevents ECS tasks from running on air-gapped environment



### Expected Behavior

`PORTS_CHECK_DOCKER_IMAGE` can be configured via configuration option to allow use of any available image 

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

Run an ECS task in an environment where localstack/localstack is not available.

### Environment

```markdown
- OS: RHEL8
- Docker runtime version: Podman v4.2.0
- LocalStack: 1.3.1
```


### Anything else?

_No response_
VOLUME_DIR = os.environ.get("LOCALSTACK_VOLUME_DIR", "").strip() or TMP_FOLDER
if TMP_FOLDER.startswith("/var/folders/") and os.path.exists("/private%s" % TMP_FOLDER):
    TMP_FOLDER = "/private%s" % TMP_FOLDER
HOST_TMP_FOLDER = os.environ.get("HOST_TMP_FOLDER", TMP_FOLDER)
LEGACY_DIRECTORIES = is_env_true("LEGACY_DIRECTORIES")
LS_LOG = eval_log_type("LS_LOG")
DEBUG = is_env_true("DEBUG") or LS_LOG in TRACE_LOG_LEVELS
DEVELOP = is_env_true("DEVELOP")
DEVELOP_PORT = int(os.environ.get("DEVELOP_PORT", "").strip() or DEFAULT_DEVELOP_PORT)
WAIT_FOR_DEBUGGER = is_env_true("WAIT_FOR_DEBUGGER")
USE_SSL = is_env_true("USE_SSL")
LEGACY_EDGE_PROXY = is_env_true("LEGACY_EDGE_PROXY")
LEGACY_S3_PROVIDER = os.environ.get("PROVIDER_OVERRIDE_S3", "") not in (
    "asf",
    "asf_pro",
    "v2",
    "v2_pro",
)
FAIL_FAST = is_env_true("FAIL_FAST")
USE_SINGLE_REGION = is_env_true("USE_SINGLE_REGION")
TF_COMPAT_MODE = is_env_true("TF_COMPAT_MODE")
DEFAULT_ENCODING = "utf-8"
DOCKER_SOCK = os.environ.get("DOCKER_SOCK", "").strip() or "/var/run/docker.sock"
DOCKER_FLAGS = os.environ.get("DOCKER_FLAGS", "").strip()
DOCKER_CMD = os.environ.get("DOCKER_CMD", "").strip() or "docker"
LEGACY_DOCKER_CLIENT = is_env_true("LEGACY_DOCKER_CLIENT")
FORWARD_EDGE_INMEM = True
EDGE_BIND_HOST = os.environ.get("EDGE_BIND_HOST", "").strip() or "127.0.0.1"
EDGE_PORT = int(os.environ.get("EDGE_PORT") or 0) or DEFAULT_PORT_EDGE
EDGE_PORT_HTTP = int(os.environ.get("EDGE_PORT_HTTP") or 0)