From 93270f557c0a42f82e8cb80ced4d67bff2a7e086 Mon Sep 17 00:00:00 2001 From: ElonH Date: Sat, 1 May 2021 20:54:58 +0800 Subject: [PATCH] opde: OpenWRT Development Environment --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/README.md b/README.md index 64f0b8b541..36fa61f630 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,58 @@ sudo apt-get install -y build-essential asciidoc binutils bzip2 gawk gettext git sudo bash -c "bash <(curl -s https://build-scripts.project-openwrt.eu.org/init_build_environment.sh)" ``` +
+ opde + + you can also download and use pre-build container directly: + + ```bash + docker pull immortalwrt/opde:base + # docker run --rm -it immortalwrt/opde:base + ``` +
+ ## Clone the source ```bash git clone -b master --single-branch https://github.com/immortalwrt/immortalwrt && cd immortalwrt ./scripts/feeds update -a && ./scripts/feeds install -a ``` +
+ opde + + 1. For Linux User: + ```bash + git clone -b master --single-branch https://github.com/immortalwrt/immortalwrt && cd immortalwrt + docker run --rm -it \ + -v $PWD:/openwrt \ + immortalwrt/opde:base zsh + ./scripts/feeds update -a && ./scripts/feeds install -a + ``` + + 2. For Windows User: no test + + Proxy Support: + + ```bash + docker run --rm -it \ + -e all_proxy=http://example.com:1081 \ + -e http_proxy=http://example.com:1081 \ + -e https_proxy=http://example.com:1081 \ + -e ALL_PROXY=http://example.com:1081 \ + -e HTTP_PROXY=http://example.com:1081 \ + -e HTTPS_PROXY=http://example.com:1081 \ + -v $PWD:/openwrt \ + immortalwrt/opde:base zsh + ``` + + > recommand `http` rather `socks5` protocol + > + > ip can not be `localhost` or `127.0.0.1` + + +
+ ## Configure your firmware ```bash make menuconfig