The Israeli military directed heavy artillery fire and dozens of airstrikes into Gaza overnight into Friday, as fears grew that a ground invasion of the territory could be launched to quell rocket fire from Palestinian militants.