2023-03-17 21:53:06 +08:00
|
|
|
FROM ubuntu:jammy-20230308
|
2023-03-17 21:30:12 +08:00
|
|
|
LABEL maintainer=admin@licsber.site
|
|
|
|
|
|
|
|
ENV FORCE_UNSAFE_CONFIGURE=1
|
2023-03-13 23:10:03 +08:00
|
|
|
|
|
|
|
# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
|
2023-03-17 22:05:54 +08:00
|
|
|
RUN echo $(nproc) && \
|
|
|
|
apt update && \
|
|
|
|
apt install -y build-essential clang flex bison g++ gawk gcc-multilib g++-multilib \
|
2023-03-13 23:20:23 +08:00
|
|
|
gettext git libncurses5-dev libssl-dev python3-distutils rsync unzip \
|
|
|
|
zlib1g-dev file wget && \
|
2023-03-17 22:05:54 +08:00
|
|
|
apt clean && \
|
|
|
|
rm -rf /var/lib/apt/list/*
|
2023-03-17 21:30:12 +08:00
|
|
|
|
|
|
|
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']
|