An Ubuntu image suitable for compiling OpenWrt.
3.3K
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.
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./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.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.docker run -it --rm codercai/openwrt_package /bin/bash, and then run your compilation task inside the container.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.
Content type
Image
Digest
sha256:e69d87c2c…
Size
791.2 MB
Last updated
over 3 years ago
docker pull codercai/openwrt_package