### 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_
self, tmpdir, docker_client: ContainerClient, dummy_container
    ):
        local_path = tmpdir.join("myfile.txt")
        container_path = "/tmp/myfile.txt"
        with local_path.open(mode="w") as fd:
            fd.write("foo\n")
        docker_client.start_container(dummy_container.container_id)
        docker_client.exec_in_container(
            dummy_container.container_id, command=["sh", "-c", f"echo bar > {container_path}"]
        )
        out, _ = docker_client.exec_in_container(
            dummy_container.container_id,
            command=[
                "cat",
                "/tmp/myfile.txt",
            ],
        )
        assert "bar" in out.decode(config.DEFAULT_ENCODING)
        docker_client.copy_into_container(
            dummy_container.container_id, str(local_path), container_path
        )
        out, _ = docker_client.exec_in_container(
            dummy_container.container_id,
            command=[
                "cat",
                "/tmp/myfile.txt",
            ],
        )
        assert "foo" in out.decode(config.DEFAULT_ENCODING)
    def test_copy_directory_content_into_container(