Because the build system requires that its command are not executed by root,
openwrt was created. The buildroot can be found in
To run a shell in the buildroot, execute the following command:
docker run -it noonien/openwrt-buildroot bash
More information on how to use this buildroot can be found on the OpenWRT wiki.