From 147e2db921fd2a1b28b49e3237e8e409d21f371d Mon Sep 17 00:00:00 2001 From: J0WI Date: Thu, 27 Jun 2019 13:45:39 +0200 Subject: [PATCH] Use all available cores to build PHP extensions Signed-off-by: J0WI --- 14.0/apache/Dockerfile | 2 +- 14.0/fpm-alpine/Dockerfile | 2 +- 14.0/fpm/Dockerfile | 2 +- 15.0/apache/Dockerfile | 2 +- 15.0/fpm-alpine/Dockerfile | 2 +- 15.0/fpm/Dockerfile | 2 +- 16.0/apache/Dockerfile | 2 +- 16.0/fpm-alpine/Dockerfile | 2 +- 16.0/fpm/Dockerfile | 2 +- Dockerfile-alpine.template | 2 +- Dockerfile-debian.template | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/14.0/apache/Dockerfile b/14.0/apache/Dockerfile index 88cc4487..a74da378 100644 --- a/14.0/apache/Dockerfile +++ b/14.0/apache/Dockerfile @@ -41,7 +41,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/14.0/fpm-alpine/Dockerfile b/14.0/fpm-alpine/Dockerfile index 5d6c5211..3a82ec1c 100644 --- a/14.0/fpm-alpine/Dockerfile +++ b/14.0/fpm-alpine/Dockerfile @@ -35,7 +35,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/14.0/fpm/Dockerfile b/14.0/fpm/Dockerfile index 919b0258..fbc2cf2c 100644 --- a/14.0/fpm/Dockerfile +++ b/14.0/fpm/Dockerfile @@ -41,7 +41,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/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 \ 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 \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 8547214e..11930fdb 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -35,7 +35,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/Dockerfile-debian.template b/Dockerfile-debian.template index 6c8b78ad..e31550a4 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -41,7 +41,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 \