Skip to content

Commit

Permalink
Merge pull request #410 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
yosifkit authored Jun 27, 2019
2 parents 8c2cc35 + cca618c commit fc7f07c
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 @@ -19,7 +19,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion php7.1/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
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 @@ -18,7 +18,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion php7.1/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion php7.2/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
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 @@ -18,7 +18,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion php7.2/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion php7.3/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
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 @@ -19,7 +19,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down
2 changes: 1 addition & 1 deletion php7.3/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install \
docker-php-ext-install -j "$(nproc)" \
bcmath \
exif \
gd \
Expand Down

0 comments on commit fc7f07c

Please sign in to comment.