Update Dockerfile.lede

This commit is contained in:
Jiale Liu 2023-03-17 22:57:37 +08:00 committed by GitHub
parent f6d0dfe379
commit af3225bcd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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