2023-09-14 16:51:42 +08:00
|
|
|
FROM registry.cn-beijing.aliyuncs.com/licsber/github:openwrt-lede-env
|
2024-03-08 06:34:34 +08:00
|
|
|
LABEL org.opencontainers.image.authors="licsber<admin@licsber.site>"
|
2023-09-14 16:51:42 +08:00
|
|
|
|
2023-09-14 17:03:36 +08:00
|
|
|
ENV FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
|
2023-09-14 16:51:42 +08:00
|
|
|
WORKDIR /licsber/lede
|
2024-03-08 06:34:34 +08:00
|
|
|
COPY openwrt.lede.x86.config .config
|
2023-09-14 16:51:42 +08:00
|
|
|
|
|
|
|
RUN ./scripts/feeds update -a && \
|
|
|
|
./scripts/feeds install -a
|
|
|
|
|
2024-03-08 06:34:34 +08:00
|
|
|
RUN make defconfig && \
|
|
|
|
make download -j8
|
2023-09-14 16:51:42 +08:00
|
|
|
|
2024-03-08 11:10:47 +08:00
|
|
|
RUN echo `nproc` && make -j4 || make -j1 V=s && \
|
2023-09-14 16:51:42 +08:00
|
|
|
echo $?
|
|
|
|
|
|
|
|
CMD ['bash']
|