Remark: this might be the same issue as: https://github.com/localstack/localstack/issues/1055

There is some kind of error that is occurring when trying to run a lambda function using the invoke command from the javascript SDK. Not sure if I'm doing anything wrong. please advise. This works with a live lambda function.

Call from AWS SDK (Javascript)
```
const { source, identifier } = ctx.params;

const bodyBuffer = await requestToBuffer(ctx.request.req);
const bodyBase64 = bodyBuffer.toString('base64');

const payload = {
        pathParameters: {
            source,
            identifier,
        },
        isBase64Encoded: true,
        body: bodyBase64,
    };
const response = await lambda.invoke({
        FunctionName: 'arn:aws:lambda:us-east-1:000000000000:function:uploadAvatar',
        InvocationType: 'RequestResponse',
        Payload: JSON.stringify(payload),
    }).promise();
```

**Note**: I also tried just using uploadAvatar for the function name.

Error Stack Trace returned by Localstack

```
InternalFailure: Error executing Lambda function: [Errno 7] Argument list too long Traceback (most recent call last):
    File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 301, in run_lambda
      event, context=context, version=version, asynchronous=asynchronous)
    File "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 136, in execute
      result, log_output = self.run_lambda_executor(cmd, environment, asynchronous)
    File "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 58, in run_lambda_executor
      process = run(cmd, asynchronous=True, stderr=subprocess.PIPE, outfile=subprocess.PIPE, env_vars=env_vars)
    File "/opt/code/localstack/localstack/utils/common.py", line 666, in run
      return do_run(cmd)
    File "/opt/code/localstack/localstack/utils/common.py", line 656, in do_run
      stderr=stderr, stdout=stdout_arg, env=env_dict, cwd=cwd)
    File "/opt/code/localstack/.venv/lib/python2.7/site-packages/subprocess32.py", line 825, in __init__
      restore_signals, start_new_session)
    File "/opt/code/localstack/.venv/lib/python2.7/site-packages/subprocess32.py", line 1574, in _execute_child
      raise child_exception_type(errno_num, err_msg)
  OSError: [Errno 7] Argument list too long
```

Localstack configuration environment variables:
```
SERVICES=lambda,sns,s3,ses,cloudformation,cloudwatch,apigateway
DEFAULT_REGION=us-east-1
HOSTNAME=cloud
HOSTNAME_EXTERNAL=cloud.dev.leaguegamer.org
LOCALSTACK_HOSTNAME=cloud
USE_SSL=false
LAMBDA_EXECUTOR=docker
DATA_DIR=/tmp/localstack/data
PORT_WEB_UI=8080
LAMBDA_DOCKER_NETWORK=leaguegamer_default
```

This is running using the `localstack/localstack` docker image
LOG.info(
                    "Skip setting LAMBDA_JAVA_OPTS as JAVA_TOOL_OPTIONS already defined in Lambda env vars"
                )
            else:
                LOG.debug(
                    "Passing JVM options to container environment: JAVA_TOOL_OPTIONS=%s",
                    config.LAMBDA_JAVA_OPTS,
                )
                environment["JAVA_TOOL_OPTIONS"] = config.LAMBDA_JAVA_OPTS
        
        if is_nodejs_runtime(runtime):
            environment["NODE_TLS_REJECT_UNAUTHORIZED"] = "0"
        
        LOG.info("Running lambda: %s", lambda_function.arn())
        result = self.run_lambda_executor(lambda_function=lambda_function, inv_context=inv_context)
        return result
    def provide_file_to_lambda(self, local_file: str, inv_context: InvocationContext) -> str:
        if config.LAMBDA_REMOTE_DOCKER:
            LOG.info("TODO: copy file into container for LAMBDA_REMOTE_DOCKER=1 - %s", local_file)
            return local_file
        mountable_file = get_host_path_for_path_in_docker(local_file)
        _, extension = os.path.splitext(local_file)
        target_file_name = f"{md5(local_file)}{extension}"
        target_path = f"/tmp/{target_file_name}"
        inv_context.docker_flags = inv_context.docker_flags or ""
        inv_context.docker_flags += f"-v {mountable_file}:{target_path}"
        return target_path
class LambdaExecutorReuseContainers(LambdaExecutorContainers):
    """Executor class for executing Lambda functions in re-usable Docker containers"""
    def __init__(self):