A suicide bomber killed five people near a military academy in the Afghan capital, Kabul, on Tuesday, the interior ministry said.