@Override
    protected void containerIsStarting(InspectContainerResponse containerInfo) {
        String command = "#!/bin/bash\n";
        command += "export LAMBDA_DOCKER_FLAGS=" + configureServiceContainerLabels("LAMBDA_DOCKER_FLAGS") + "\n";
        command += "export ECS_DOCKER_FLAGS=" + configureServiceContainerLabels("ECS_DOCKER_FLAGS") + "\n";
        command += "export EC2_DOCKER_FLAGS=" + configureServiceContainerLabels("EC2_DOCKER_FLAGS") + "\n";
        command += "export BATCH_DOCKER_FLAGS=" + configureServiceContainerLabels("BATCH_DOCKER_FLAGS") + "\n";
        command += "/usr/local/bin/docker-entrypoint.sh\n";
        copyFileToContainer(Transferable.of(command, 0777), STARTER_SCRIPT);
    }
@param dockerImageName    image name to use for Localstack
@param useLegacyMode      if true, each AWS service is exposed on a different port
@deprecated use {@link #LocalStackContainer(DockerImageName)} instead
modules/localstack/src/main/java/org/testcontainers/containers/localstack/LocalStackContainer.java