A murderer who stabbed a man in the heart in retaliation for reportedly being hit on the head with a beer can has been jailed for a minimum of 17 years.