Openwrt/LEDE image building environment, base on ubuntu:18.04.
docker run -di --name my-ubuntu ryantang/openwrt-compile-env
docker exec -it my-ubuntu /bin/bash/
compile openwrt after entering the container
su openwrt
cd ~
git clone https://github.com/openwrt/openwrt.git && cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig
make -j1 V=s
after image build, exit the container
exit
exit
copy image file from container
docker cp my-ubuntu:/home/openwrt/openwrt/bin/targets/x86/64/openwrt-x86-64-generic-squashfs-combined.img .
Content type
Image
Digest
Size
597.2 MB
Last updated
about 6 years ago
docker pull ryantang/openwrt-compile-env