reduce mem usage.

This commit is contained in:
licsber 2024-05-13 19:48:06 +08:00
parent 622f10f71c
commit 7005907172
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 9D7FB88B13C88D84
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ RUN sed -i "s/hostname='OpenWrt'/hostname='LicsberLEDE'/g" package/base-files/fi
RUN sed -i "s/timezone='UTC'/timezone='CST-8'/g" package/base-files/files/bin/config_generate
ENV GOPROXY='https://goproxy.io,direct'
RUN if [ `nproc` -le 4 ]; then make -j3 || make V=s; else make -j `nproc` || make V=s; fi && \
RUN if [ `nproc` -le 4 ]; then make -j2 || make V=s; else make -j `nproc` || make V=s; fi && \
echo $?
RUN tree -h bin

View File

@ -20,7 +20,7 @@ RUN sed -i 's/255.255.255.0/255.0.0.0/g' package/base-files/files/bin/config_gen
RUN sed -i "s/hostname='OpenWrt'/hostname='LicsberOP'/g" package/base-files/files/bin/config_generate
ENV GOPROXY='https://goproxy.io,direct'
RUN if [ `nproc` -le 4 ]; then make -j3 || make V=s; else make -j `nproc` || make V=s; fi && \
RUN if [ `nproc` -le 4 ]; then make -j2 || make V=s; else make -j `nproc` || make V=s; fi && \
echo $?
RUN tree -h bin