Commit 6b6e2d5f authored by Douglas Black's avatar Douglas Black

Adding pcntl to php-fpm, php-worker, addresses #1419

parent 0c41fcea
...@@ -138,6 +138,7 @@ PHP_FPM_INSTALL_GHOSTSCRIPT=false ...@@ -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 ############################################
......
...@@ -168,6 +168,16 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ ...@@ -168,6 +168,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 \ ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment