OpenWrt builder for any supported routers using Docker. Scheduled to run weekly
NOTE:
The OpenWRT project is perfect for powerful devices (like my old-but-great Xiaomi R3G). However, the official release/snapshot builds are very minimal versions without the WebUI manager (LUCI) and some common useful packages like SAMBA, DLNA, OpenVPN, torrent,... To be updated to the latest build, it takes time to do some of the most boring tasks: flash the update, install my needed components. That's the reason for me to build this repository and make all thing be automated
Read this if you are interesting:
... Comming soon
There are some notes if you'd like to fork my build:
DockerHub
which contains DOCKERHUB_USERNAME
and DOCKERHUB_PASS
to be able to pull the builder image due to Docker hub rate limits..circleci/config.yml
arch_soc.txt
contains your device architecture and System on Chip modelmodules.txt
contains list modules you want to pack into this custom buildxiaomi_mi-router-3g
, arch is ramips
and soc is mt7621
source ./findReleaseInfo.sh xiaomi_mi-router-3g release
# Create output folder
mkdir bin
chmod 777 bin
# Run the build
docker run -it --rm \
-e SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH \
-v $(pwd):/builder/custom_scripts \
-v $(pwd)/bin:/builder/bin openwrt/imagebuilder:${RELEASE_ARCH_SOC}-${RELEASE_VER} \
/builder/custom_scripts/build.sh xiaomi_mi-router-3g
chmod -R 777 .
for your source directory if facing any permission errors