This image provides a toolchain to build OpenWRT for different hardware devices.
486
This image provides a toolchain to build OpenWRT for different hardware devices.
Prepare a disk volume with 15Gb free to execute this image.
docker pull caligari/openwrt-builder:latest
Available image tags here.
git clone [email protected]:rafacouto/docker-openwrt-builder.git
docker build -t caligari/openwrt-builder:latest ./docker-openwrt-builder
Show the available targets to build:
docker run --rm caligari/openwrt-builder
ToDo: put here the current output of this command.
Build OpenWRT for a Raspberry Pi 3:
docker run --rm -e OPENWRT_TARGET=rpi-3 caligari/openwrt-builder
Directory where OpenWRT sources persist (>= 15Gb):
docker run \
-e OPENWRT_TARGET=rpi-3 caligari/openwrt-builder \
-v $(pwd)/src:/usr/local/openwrt/src
Directory with the binaries result of the build:
docker run \
-e OPENWRT_TARGET=rpi-3 caligari/openwrt-builder \
-v $(pwd)/binaries:/usr/local/openwrt/src/bin
docker run \
-e OPENWRT_TARGET=rpi-3 \
-e OPENWRT_RELEASE=master \
-e JOBS=3 \
caligari/openwrt-builder
Content type
Image
Digest
Size
184.7 MB
Last updated
over 8 years ago
docker pull caligari/openwrt-builder