From 11434c9296275a6aa4ed1d0a004d1de1ec4b7846 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 28 Feb 2018 12:39:35 +0300 Subject: [PATCH] parallel compile jobs (cherry picked from commit 27509b05f60b99641cfc1565e210a274c0d71f7b) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0aef877..f4137cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,8 +94,8 @@ RUN set -x && \ --with-large-files \ --with-default-user=squid \ --with-openssl \ - --with-pidfile=/var/run/squid/squid.pid \ - make && \ + --with-pidfile=/var/run/squid/squid.pid && \ + make -j $(grep -cs ^processor /proc/cpuinfo) && \ make install && \ install -d -o squid -g squid \ /var/cache/squid \