https://github.com/jannispinter/arch-openwrt-buildroot
Arch Linux based OpenWrt buildroot docker image
https://github.com/jannispinter/arch-openwrt-buildroot
Last synced: 6 months ago
JSON representation
Arch Linux based OpenWrt buildroot docker image
- Host: GitHub
- URL: https://github.com/jannispinter/arch-openwrt-buildroot
- Owner: jannispinter
- License: mit
- Created: 2014-08-10T07:01:45.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T06:43:49.000Z (about 11 years ago)
- Last Synced: 2024-03-20T14:20:37.755Z (about 2 years ago)
- Size: 195 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Arch Linux based OpenWrt Buildroot
==================================
[](https://registry.hub.docker.com/u/jannispinter/arch-openwrt-buildroot)
[]()
This is an Arch Linux based docker container for the OpenWrt buildroot.
Derived from [noonien](https://github.com/noonien/docker-openwrt-buildroot)
Because the build system requires that its commands are not executed by root, the user openwrt was created.
The buildroot can be found in `/home/openwrt/openwrt`.
## Installation
### Clone this repository
```sh
git clone https://github.com/jannispinter/arch-openwrt-buildroot.git
```
### Build the docker image
```sh
cd arch-openwrt-buildroot
docker build -t="arch-openwrt-buildroot:trunk" .
```
The dot at the end indicates that `docker build` will use the current directory to find the `Dockerfile`.
## Usage
### 1. Run the docker image
```sh
docker run -i -t arch-openwrt-buildroot:trunk
```
### 2. You might want to install all the feeds
```sh
./scripts/feeds install -a
```
### 3. Configure your OpenWrt image
```sh
make menuconfig
```
Follow the official OpenWrt Buildroot instructions: http://wiki.openwrt.org/doc/howto/build
### Copy OpenWrt images to host system
You can use `docker cp` to copy the binary image out of the container to your host system.
```sh
docker cp :/home/openwrt/openwrt/bin// /host/path/target
```