Egypt is an ally of Khalifa Haftar who has been leading an offensive on Tripoli for months. Training camps have been set up in Egypt near the Libyan border.