From 147e2db921fd2a1b28b49e3237e8e409d21f371d Mon Sep 17 00:00:00 2001 From: J0WI Date: Thu, 27 Jun 2019 13:45:39 +0200 Subject: Use all available cores to build PHP extensions Signed-off-by: J0WI --- 16.0/apache/Dockerfile | 2 +- 16.0/fpm-alpine/Dockerfile | 2 +- 16.0/fpm/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to '16.0') diff --git a/16.0/apache/Dockerfile b/16.0/apache/Dockerfile index 47d5de4d..01e59f5f 100644 --- a/16.0/apache/Dockerfile +++ b/16.0/apache/Dockerfile @@ -42,7 +42,7 @@ RUN set -ex; \ debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \ docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ - docker-php-ext-install \ + docker-php-ext-install -j "$(nproc)" \ exif \ gd \ intl \ diff --git a/16.0/fpm-alpine/Dockerfile b/16.0/fpm-alpine/Dockerfile index 07a5103b..644a16ab 100644 --- a/16.0/fpm-alpine/Dockerfile +++ b/16.0/fpm-alpine/Dockerfile @@ -36,7 +36,7 @@ RUN set -ex; \ \ docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \ docker-php-ext-configure ldap; \ - docker-php-ext-install \ + docker-php-ext-install -j "$(nproc)" \ exif \ gd \ intl \ diff --git a/16.0/fpm/Dockerfile b/16.0/fpm/Dockerfile index 03107728..7de39784 100644 --- a/16.0/fpm/Dockerfile +++ b/16.0/fpm/Dockerfile @@ -42,7 +42,7 @@ RUN set -ex; \ debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \ docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ - docker-php-ext-install \ + docker-php-ext-install -j "$(nproc)" \ exif \ gd \ intl \ -- cgit v1.2.3