Git Product home page Git Product logo

openwrt-image-builder's Introduction

OpenWRT Image Build License: MIT

OpenWRT Image Builder using a Docker container

A docker container to build a OpenWRT firmware image. Useful for automation and CI/CD pipelines.

Prerequisites

  • Docker
  • A Mac/Linux host (tested on macOS 13.0 and Ubuntu Github Runner)
  • A working internet connection

Usage

To build an image you will need to specify the OpenWRT version (tag from repo) and the target device. The image will be saved in the output folder.

docker build --build-arg OPENWRT_VERSION=v22.03.2 --build-arg DEVICE=ea8300 -o output . 

Arguments

Argument Description Default
OPENWRT_VERSION OpenWRT version to build v21.02.2
DEVICE Target device to build the firmware for ea8300
SHOULD_ADD_HAASMESH Whether or not to add HaasMesh to the image 0
CPUS The number of CPUs/Threads to use for building All Available

Notes

It is normal for the build to take at least 30 minutes. The build process is very resource intensive and will use all available CPU cores. To limit the number of cores used, you can use the CPUS build argument.

openwrt-image-builder's People

Contributors

galalmounir avatar

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.