This is a docker container for the OpenWRT buildroot.
Because the build system requires that its command are not executed by root,
the user openwrt
was created. The buildroot can be found in
/home/openwrt/openwrt
.
- To build the container image, run
make
- To make the config, you've to run a shell:
To run a shell in the buildroot, run:
make run-shell
And then:
make defconfig
make prereq
make menuconfig
cp .config /srv/ # save the config outside the container
- To compile openwrt, run
make run
More information on how to use this buildroot can be found on the OpenWRT wiki.