def METHOD_NAME(tags):
    print(print_separator)
    print("GETTING CMAKE AS ARCHIVE")
    print(print_separator)
    # Publish directory should be in the top level folder of the sdk.
    source_artifacts = os.path.normpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../source_artifacts.tar"))
    api_client = docker.APIClient(base_url="unix://var/run/docker.sock")
    for image in api_client.images():
        print("Image:")
        print(image)
    print("Creating Container: {}".format(tags.docker_image_name))
    con = api_client.create_container(tags.docker_image_name)
    print(con)
    bits, stat = api_client.get_archive(con["Id"],"/sdk/cmake")
    print(stat)
    with open(source_artifacts, 'wb') as f:
        for chunk in bits:
            f.write(chunk)