Sign inSign up

codercai/openwrt_package

By codercai

•Updated over 3 years ago

An Ubuntu image suitable for compiling OpenWrt.

Image
0

3.3K

codercai/openwrt_package repository overview

⁠Introduction

This is an Ubuntu image that has already installed the dependencies required to compile OpenWRT firmware. You can start a corresponding container, clone the OpenWRT source code, and start compiling inside the container.

⁠Quick Start

  • Run: docker run -d codercai/openwrt_package. The container will run in the background. You can enter the container using docker exec -it $CONTAINER_ID /bin/bash and start your compilation task.
  • Mount your compilation script to /opt/run.sh in the container and run: docker run -d -v $YOUR_SCRIPT_PATH:/opt/run.sh codercai/openwrt_package. The container will start and automatically run the script you provided.
  • Mount your compilation script to any directory in the container and run: docker run -d -v $YOUR_SCRIPT_PATH:/CUSTOM_DIR/run.sh codercai/openwrt_package /CUSTOM_DIR/run.sh ARS1 AGRS2. This way supports passing arguments through the command line during runtime.
  • Of course, you can also run the script directly in the foreground, such as: docker run -it --rm codercai/openwrt_package /bin/bash, and then run your compilation task inside the container.

⁠Example

This Github repository openwrt_package⁠ uses this image to compile OpenWRT for LEDE, and the Dockerfile for this image is also maintained in the same repository.

Tag summary

Content type

Image

Digest

sha256:e69d87c2c…

Size

791.2 MB

Last updated

over 3 years ago

docker pull codercai/openwrt_package