support build parent image if need