This is something I wasn't aware about until relatively recently and a recent post about building deployment images that included dev tools makes me wonder if I'm not the only one.
The big caveat is that this is something that's a paid-for feature - but I'm sure there are other free mechanisms that are equivalent.