1
0
mirror of https://github.com/rafacouto/docker-openwrt-builder synced 2025-06-10 17:36:24 +00:00
2016-12-22 14:37:54 +01:00

41 lines
956 B
Markdown

# OpenWRT builder
This image provides a toolchain to build OpenWRT for different hardware devices.
## Get the docker image
### Pre-built image
docker pull caligari/openwrt-builder
### From Dockerfile
git clone git@github.com:rafacouto/docker-openwrt-builder.git
docker build -t caligari/openwrt-builder:latest ./docker-openwrt-builder
## Usage
docker run --rm -e OPENWRT_TARGET=rpi-3 caligari/openwrt-builder
shows the help:
-ToDo-
### Docker volumes
docker run -v $(pwd)/src:/usr/local/openwrt/src -e OPENWRT_TARGET=rpi-3 caligari/openwrt-builder
### Compile an OpenWRT version to a hardware target
## Related info
- [OpenWRT wiki](https://wiki.openwrt.org/)
## Thanks
- [Javi Loureiro](https://twitter.com/StaticBoardsES) who had the idea for Raspberry Pi devices and provided config files for them.
- [OpenWRT community](https://openwrt.org/) for the best embedded operating system based on the Linux kernel.