mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-19 02:18:48 +08:00
reduce mem usage.
This commit is contained in:
parent
622f10f71c
commit
7005907172
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user