AWS supports the following Ruby runtimes:

<!--StartFragment-->
Name | Identifier | SDK for Ruby | Operating system
-- | -- | -- | --
Ruby 2.7 | ruby2.7 | 3.0.1 | Amazon Linux 2
Ruby 2.5 | ruby2.5 | 3.0.1 | Amazon Linux

<!--EndFragment-->

Currently, `localstack/lambda` only contains the `ruby2.5` tag. Will the 2.7 runtime be supported in the (near) future?
if not isinstance(lambda_api.LAMBDA_EXECUTOR,
                          lambda_executors.LambdaExecutorSeparateContainers):
            return
        executor = lambda_api.LAMBDA_EXECUTOR
        func_name = 'test_docker_command_for_separate_container_lambda_executor'
        func_arn = lambda_api.func_arn(func_name)
        handler = 'handler'
        lambda_cwd = '/app/lambda'
        network = 'compose_network'
        dns = 'some-ip-address'
        config.LAMBDA_DOCKER_NETWORK = network
        config.LAMBDA_DOCKER_DNS = dns
        func_details = aws_models.LambdaFunction(func_arn)
        func_details.runtime = LAMBDA_RUNTIME_NODEJS810
        func_details.lambda_cwd = lambda_cwd
        func_details.handler = handler
        try:
            cmd = executor.prepare_execution(func_details, {}, '')
            expected = 'docker run -v "%s":/var/task --network="%s" --dns="%s" --rm "lambci/lambda:%s" "%s"' % (
                lambda_cwd, network, dns, LAMBDA_RUNTIME_NODEJS810, handler)
            self.assertIn('--network="%s"' % network, cmd, 'cmd=%s expected=%s' % (cmd, expected))
            self.assertIn('--dns="%s"' % dns, cmd, 'cmd=%s expected=%s' % (cmd, expected))
        finally:
            config.LAMBDA_DOCKER_NETWORK = ''
            config.LAMBDA_DOCKER_DNS = ''
    def test_destroy_idle_containers(self):
        
        if not isinstance(lambda_api.LAMBDA_EXECUTOR,
                          lambda_executors.LambdaExecutorReuseContainers):