GithubHelp home page GithubHelp logo

molobit619 / arch-openwrt-buildroot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jannispinter/arch-openwrt-buildroot

0.0 2.0 0.0 200 KB

Arch Linux based OpenWrt buildroot docker image

License: MIT License

arch-openwrt-buildroot's Introduction

Arch Linux based OpenWrt Buildroot

Docker Build Status GitHub license

This is an Arch Linux based docker container for the OpenWrt buildroot.

Derived from noonien

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

git clone https://github.com/jannispinter/arch-openwrt-buildroot.git

Build the docker image

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

docker run -i -t arch-openwrt-buildroot:trunk

2. You might want to install all the feeds

./scripts/feeds install -a

3. Configure your OpenWrt image

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.

docker cp <containerId>:/home/openwrt/openwrt/bin/<arch>/<imagefile.bin> /host/path/target

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.