def METHOD_NAME(
    workspace, output_path, ccache_path, repo_path, pr_number, commit_sha, image
):
    return (
        f"docker run --cap-add=SYS_PTRACE "
        f"-e FASTTEST_WORKSPACE=/fasttest-workspace -e FASTTEST_OUTPUT=/test_output "
        f"-e FASTTEST_SOURCE=/ClickHouse --cap-add=SYS_PTRACE "
        f"-e PULL_REQUEST_NUMBER={pr_number} -e COMMIT_SHA={commit_sha} "
        f"-e COPY_CLICKHOUSE_BINARY_TO_OUTPUT=1 "
        f"--volume={workspace}:/fasttest-workspace --volume={repo_path}:/ClickHouse "
        f"--volume={output_path}:/test_output "
        f"--volume={ccache_path}:/fasttest-workspace/ccache {image}"
    )