(in indonesia) a person who is not indonesian, especially a white person. The word bule, however, has a more curious origin See examples of bule used in a sentence.
Kocak, Bule Barbie Ngaku Takut Sama Cowok Indonesia: Banyak Buaya Tahu!
The key takeaway here is that bule generally points to someone who is clearly not local, usually distinguished by their appearance, such as lighter skin or different hair color.
In its most common usage, especially within indonesian and malay contexts, bule is an informal term used to refer to a foreigner, particularly one who is caucasian or from a western country.