def METHOD_NAME(self, args):
    params = self._get_template_params(args.prefix, args.fragments)
    template = (
        '-'.join((args.image, args.arch)) if args.arch else args.image
    )
    return self._gen_dockerfile(template, params)