mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
Update and rename Dockerfile.openwrt-x86 to Dockerfile.lede
This commit is contained in:
parent
6e44fec0ef
commit
d72d4d26cc
@ -1,4 +1,7 @@
|
|||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
|
LABEL maintainer=admin@licsber.site
|
||||||
|
|
||||||
|
ENV FORCE_UNSAFE_CONFIGURE=1
|
||||||
|
|
||||||
# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
|
# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
|
||||||
RUN echo $(nproc) && sudo apt update && \
|
RUN echo $(nproc) && sudo apt update && \
|
||||||
@ -7,3 +10,11 @@ RUN echo $(nproc) && sudo apt update && \
|
|||||||
zlib1g-dev file wget && \
|
zlib1g-dev file wget && \
|
||||||
sudo apt clean && \
|
sudo apt clean && \
|
||||||
sudo rm -rf /var/lib/apt/list/*
|
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']
|
Loading…
Reference in New Issue
Block a user