Celtic ended Liverpool's decent pre-season run of results with a 1-0 victory in the Dublin Decider at the Aviva Stadium.