From d72d4d26cc86e75869cd033e81bfe32fa6e85bcf Mon Sep 17 00:00:00 2001 From: Jiale Liu Date: Fri, 17 Mar 2023 21:30:12 +0800 Subject: [PATCH] Update and rename Dockerfile.openwrt-x86 to Dockerfile.lede --- Dockerfile.openwrt-x86 => Dockerfile.lede | 11 +++++++++++ 1 file changed, 11 insertions(+) rename Dockerfile.openwrt-x86 => Dockerfile.lede (56%) diff --git a/Dockerfile.openwrt-x86 b/Dockerfile.lede similarity index 56% rename from Dockerfile.openwrt-x86 rename to Dockerfile.lede index 1963a74..1b89c12 100644 --- a/Dockerfile.openwrt-x86 +++ b/Dockerfile.lede @@ -1,4 +1,7 @@ FROM ubuntu:22.04 +LABEL maintainer=admin@licsber.site + +ENV FORCE_UNSAFE_CONFIGURE=1 # https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem RUN echo $(nproc) && sudo apt update && \ @@ -7,3 +10,11 @@ RUN echo $(nproc) && sudo apt update && \ zlib1g-dev file wget && \ sudo apt clean && \ sudo 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 + +CMD ['/usr/bin/env', 'bash']