William Summerill, 25, was sentenced at Liverpool Crown Court on Friday to seven years and six months for drug supply offences and resisting arrest.
The Wavertree man had scaled the walls of the Dockers Club, Anfield, on 2 February to escape arrest, police said.
Four police officers were then hurt by the petrol bomb thrown by a bystander.
Summerill, of Carno Street, was arrested after drugs were found at an address in Lampeter Road, Merseyside Police said.
He admitted three counts of possession of Class A drugs with intent to supply, and resisting arrest.
Police confirmed an investigation into the petrol bomb attack in Townsend Lane was ongoing.
It was thrown by one of the onlookers who had gathered in the street during the rooftop incident.
A drug dealer who climbed onto the roof of a Liverpool club during an incident in which a petrol bomb was thrown at police officers has been jailed.