File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
7676 && rm nginx.tar.gz \
7777 && cd /usr/src/nginx-$NGINX_VERSION \
7878 && ./configure $CONFIG --with-debug \
79- && make \
79+ && make -j$(getconf _NPROCESSORS_ONLN) \
8080 && mv objs/nginx objs/nginx-debug \
8181 && mv objs/ngx_http_xslt_filter_module.so objs/ngx_http_xslt_filter_module-debug.so \
8282 && mv objs/ngx_http_image_filter_module.so objs/ngx_http_image_filter_module-debug.so \
8383 && mv objs/ngx_http_geoip_module.so objs/ngx_http_geoip_module-debug.so \
8484 && mv objs/ngx_http_perl_module.so objs/ngx_http_perl_module-debug.so \
8585 && mv objs/ngx_stream_geoip_module.so objs/ngx_stream_geoip_module-debug.so \
8686 && ./configure $CONFIG \
87- && make \
87+ && make -j$(getconf _NPROCESSORS_ONLN) \
8888 && make install \
8989 && rm -rf /etc/nginx/html/ \
9090 && mkdir /etc/nginx/conf.d/ \
Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
7575 && rm nginx.tar.gz \
7676 && cd /usr/src/nginx-$NGINX_VERSION \
7777 && ./configure $CONFIG --with-debug \
78- && make \
78+ && make -j$(getconf _NPROCESSORS_ONLN) \
7979 && mv objs/nginx objs/nginx-debug \
8080 && mv objs/ngx_http_xslt_filter_module.so objs/ngx_http_xslt_filter_module-debug.so \
8181 && mv objs/ngx_http_image_filter_module.so objs/ngx_http_image_filter_module-debug.so \
8282 && mv objs/ngx_http_geoip_module.so objs/ngx_http_geoip_module-debug.so \
8383 && mv objs/ngx_http_perl_module.so objs/ngx_http_perl_module-debug.so \
8484 && ./configure $CONFIG \
85- && make \
85+ && make -j$(getconf _NPROCESSORS_ONLN) \
8686 && make install \
8787 && rm -rf /etc/nginx/html/ \
8888 && mkdir /etc/nginx/conf.d/ \
You can’t perform that action at this time.
0 commit comments