Etymology Online claims it's from bunker.

Etymology Online says: "1758, probably a shortened from bunker (q.v.)." That "probably" is one reason I do not care for EO. The guy who cobbled it together from all sorts of sources seems not to like "origin unknown" or "etymology uncertain" and does his best to "solve" these lacunae.

Ceci n'est pas un seing.