Docker LEDE
This is a LEDE image build environment.
Current LEDE version: v17.01.4
If you need a snapshots version, plese check here: https://github.com/Acris/docker-lede/tree/snapshots
How to use
Start with bash shell:
docker run -ti --name=lede -v /path/to/binary:/home/lede/lede/bin acrisliu/lede
Ensure that /path/to/binary
is writable by the lede user in container.
Then you can configure your LEDE image by following steps:
- run
make menuconfig
and set target; - run
make defconfig
to set default config for build system and device; - run
make menuconfig
and modify set of package; - run
make
command to build LEDE image.
You can also build your docker image with external configuration file:
FROM acrisliu/lede
COPY .config /tmp
RUN cp /tmp/.config .
CMD ["make"]
Or using config diff file:
FROM acrisliu/lede
COPY diffconfig /tmp
RUN cp /tmp/diffconfig .config && make defconfig
CMD ["make"]
For more information about diff file, you can see here: https://lede-project.org/docs/guide-developer/use-buildsystem#configure_using_config_diff_file
You can find more usage here: https://github.com/Acris/docker-lede-netgear-r6100