<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def verify_docker_image_task(chain, link):
 """Verify the docker image Link. Args: chain (ChainOfTrust):
 the chain we're operating on. link (LinkOfTrust):
 the task link we're checking. """

    errors = []
    # workerType
    worker_type = get_worker_type(link.task)
    if worker_type not in chain.context.config['valid_docker_image_worker_types']:
        errors.append("{} is not a valid docker-image workerType!".format(worker_type))
    raise_on_errors(errors)