A double bubble in a ternary system with long range interaction