Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/botto/docker-openwrt-imagebuilder

Script to prepare a dockerfile that creates a container for the openwrt imagebuilder
https://github.com/botto/docker-openwrt-imagebuilder

Last synced: about 5 hours ago
JSON representation

Script to prepare a dockerfile that creates a container for the openwrt imagebuilder

Awesome Lists containing this project

README

        

Script that prepares a dockerfile to build a openwrt imagebuilder

To prepare an ar71xxx imagebuilder

```bash
$ ./prepare.sh https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64.tar.bz2
$ docker build -t botto/openwrt-imagebuilder-ar71xxx .
```

```bash
$ docker run botto/openwrt-imagebuilder-ar71xxx make info
$ docker run botto/openwrt-imagebuilder-ar71xxx make image PROFILE="TLWR703"
```

If you want to have the bin files dumped to a location you can access them on the host machine

```bash
$ cd docker-openwrt-imagebuilder
$ mkdir openwrt-bin
$ docker run -v openwrt-bin:/openwrt-bin botto/openwrt-imagebuilder-ar71xxx make image PROFILE="TLWR703" BIN_DIR="/openwrt-bin"
$ cd openwrt-bin
```

## Existing container
If you don't want to run the build but simply want to download a container, ar71xxx already has a prepared container
```$ docker pull botto/openwrt-imagebuilder-ar71xxx```