mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-19 18:20:26 +08:00
Update Dockerfile.lede
This commit is contained in:
parent
f6d0dfe379
commit
af3225bcd6
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user