Merge pull request #1504 from dougblackjr/master
Adding pcntl to php-fpm, php-worker, addresses #1419
This commit is contained in:
commit
7c88c33b29
|
@ -138,6 +138,7 @@ PHP_FPM_INSTALL_GHOSTSCRIPT=false
|
||||||
PHP_FPM_INSTALL_LDAP=false
|
PHP_FPM_INSTALL_LDAP=false
|
||||||
PHP_FPM_INSTALL_SWOOLE=false
|
PHP_FPM_INSTALL_SWOOLE=false
|
||||||
PHP_FPM_INSTALL_PG_CLIENT=false
|
PHP_FPM_INSTALL_PG_CLIENT=false
|
||||||
|
PHP_FPM_INSTALL_PCNTL=false
|
||||||
|
|
||||||
### PHP_WORKER ############################################
|
### PHP_WORKER ############################################
|
||||||
|
|
||||||
|
|
|
@ -175,6 +175,16 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||||
docker-php-ext-install zip \
|
docker-php-ext-install zip \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# pcntl
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_PCNTL=false
|
||||||
|
RUN if [ ${INSTALL_PCNTL} = true]; then \
|
||||||
|
# Installs pcntl, helpful for running Horizon
|
||||||
|
docker-php-ext-install pcntl \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# bcmath:
|
# bcmath:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
|
@ -22,7 +22,7 @@ RUN apk --update add wget \
|
||||||
libgsasl-dev \
|
libgsasl-dev \
|
||||||
supervisor
|
supervisor
|
||||||
|
|
||||||
RUN docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml
|
RUN docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl
|
||||||
RUN pecl channel-update pecl.php.net && pecl install memcached mcrypt-1.0.1 && docker-php-ext-enable memcached
|
RUN pecl channel-update pecl.php.net && pecl install memcached mcrypt-1.0.1 && docker-php-ext-enable memcached
|
||||||
|
|
||||||
# Install PostgreSQL drivers:
|
# Install PostgreSQL drivers:
|
||||||
|
|
Loading…
Reference in New Issue