make github actions mem low.

This commit is contained in:
licsber 2024-03-09 00:02:07 +08:00
parent efe97a2a18
commit 3fcc0f87d5
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,6 @@ RUN cd lede && \
make download -j8
RUN cd lede && \
make -j
make -j3
CMD ['bash']

View File

@ -1,10 +1,11 @@
FROM registry.cn-beijing.aliyuncs.com/licsber/github:openwrt-lede-env
LABEL org.opencontainers.image.authors="licsber<admin@licsber.site>"
WORKDIR /home/licsber/lede
RUN rm -rf bin
COPY openwrt.lede.x86.config .config
USER licsber
WORKDIR /home/licsber/lede
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a