def is_dev_only(dockerfile_path=str) -> bool:
    """
    Check the build.conf for "devonly" flag.
    Args:
        dockerfile_path (str): the dockerfile's path

    Returns:

    """
    path = f"{dockerfile_path}/build.conf"
    try:
        with open(path) as f:
            content = f.read()
            if "devonly=true" in content:
                return True

    except FileNotFoundError:
        return False

    return False