@bugaevc The build environment includes nothing bug the explicitly-declared userland dependencies. If a package depends on GCC and Binutils, it gets them; if not, it doesn’t.
There’s no /bin/sh there—no /bin, no /usr, nothing.
On Linux, there’s /dev and /proc, but for separate namespaces.