Update and rename Dockerfile.openwrt-x86 to Dockerfile.lede

This commit is contained in:
Jiale Liu 2023-03-17 21:30:12 +08:00 committed by GitHub
parent 6e44fec0ef
commit d72d4d26cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']