diff --git a/Dockerfile.lede b/Dockerfile.lede index ec4d6e5..e4dc7a4 100644 --- a/Dockerfile.lede +++ b/Dockerfile.lede @@ -8,14 +8,24 @@ RUN echo $(nproc) && \ apt update && \ apt install -y -qq build-essential clang flex bison g++ gawk gcc-multilib g++-multilib \ gettext git libncurses5-dev libssl-dev python3-distutils rsync unzip \ - zlib1g-dev file wget && \ + zlib1g-dev file wget > /dev/null && \ apt clean && \ rm -rf /var/lib/apt/list/* WORKDIR /licsber -RUN git clone --depth=1 https://github.com/openwrt/openwrt.git -b openwrt-22.03 && \ - git clone --depth=1 https://github.com/coolsnowwolf/lede.git && \ - git clone --depth=1 https://github.com/fw876/helloworld.git +RUN git clone --depth=1 https://github.com/openwrt/openwrt.git -b openwrt-22.03 +RUN git clone --depth=1 https://github.com/coolsnowwolf/lede.git +RUN git clone --depth=1 https://github.com/fw876/helloworld.git && \ + cp -r helloworld openwrt/package && \ + cp -r helloworld lede/package + +RUN cd openwrt && \ + ./scripts/feeds update -a && \ + ./scripts/feeds install -a + +RUN cd lede && \ + ./scripts/feeds update -a && \ + ./scripts/feeds install -a CMD ['/usr/bin/env', 'bash']