Public | Automated Build

Last pushed: 2 years ago
Short Description
buildroot for LEDE or OpenWRT
Full Description

how to use it

typically on OS X, I will create 2 volume containers to provsion 2 volumes as lede and lede. volume lede is to hold the LEDE source codes persistently, and lede to hold the building/staging folders and download packages.

$ docker run -v /lede --name lede busybox true
$ docker run -v /lede --name lede busybox true
$ docker run --rm -it --volumes-from lede --volumes-from lede_ njhsi/lede-buildroot
$buildman@38ae0d961a8b:~$ ls -l
lrwxrwxrwx 1 buildman buildman 16 May 28 14:18 builddir -> /lede/builddir
lrwxrwxrwx 1 buildman buildman 9 May 28 14:18 dl -> /lede
lrwxrwxrwx 1 buildman buildman 18 May 28 14:18 stagingdir -> /lede/staging_dir

to access lede source codes by samba sharing.
$ docker run --rm -v /var/run/docker.sock:/docker.sock njhsi/samba lede
$ mount_smbfs //guest@localhost:/lede ./lede_src


tag the changes of sources/configs by taging the container into images

  • be minimal: take away build_dir and staging_dir
Docker Pull Command
Source Repository