Skip to content

Commit

Permalink
Merge pull request #79 from J0WI/nproc
Browse files Browse the repository at this point in the history
Use all available cores to build PHP extensions
  • Loading branch information
mbabker authored Jun 27, 2019
2 parents bc9c3d5 + eae2051 commit fa97bf9
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -ex; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.1/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.1/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -ex; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.1/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.2/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.2/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN set -ex; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.2/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.3/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.3/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -ex; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down
2 changes: 1 addition & 1 deletion php7.3/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN set -ex; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bz2 \
gd \
ldap \
Expand Down

0 comments on commit fa97bf9

Please sign in to comment.