Update history
Date Version Author Update content
2023-09-17 v1.1 ztd
  • Update docs
2023-05-12 v1.0 wonder
  • Release docs


Project address


There are some issues with building on Ubuntu currently, using Debian can build smoothly. The repository provides the corresponding Dockerfile for Debian.

First you need to clone the project source code:

git clone

If your machine has not been configured with Docker environment before, refer to the steps in Docker:

Uninstall possible versions of Docker:

sudo apt-get remove docker docker-engine containerd runc

Install basic software that Docker depends on:

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

Add official sources:

curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"

Install Docker:

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli

Then enter the docker-build directory to configure the corresponding environment and start compiling.

cd openwrt/docker-build
# Build docker image
sudo docker build -t ruyisdk-openwrt-builder .
# Build openwrt using docker
sudo docker run --rm -v "$(cd .. && pwd)":/workspace ruyisdk-openwrt-builder

After the build is complete, flash the built image to the development board.

Then you can refer to Openwrt Docs to develop.


Openwrt Docs