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 --- 15.0/apache/Dockerfile | 2 +- 15.0/fpm-alpine/Dockerfile | 2 +- 15.0/fpm/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to '15.0') diff --git a/15.0/apache/Dockerfile b/15.0/apache/Dockerfile index 88a69654..675fa988 100644 --- a/15.0/apache/Dockerfile +++ b/15.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/15.0/fpm-alpine/Dockerfile b/15.0/fpm-alpine/Dockerfile index 6163bb24..3d9666df 100644 --- a/15.0/fpm-alpine/Dockerfile +++ b/15.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/15.0/fpm/Dockerfile b/15.0/fpm/Dockerfile index 9509fb2d..125957db 100644 --- a/15.0/fpm/Dockerfile +++ b/15.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