Merge pull request #1504 from dougblackjr/master
Adding pcntl to php-fpm, php-worker, addresses #1419
This commit is contained in:
		@@ -138,6 +138,7 @@ PHP_FPM_INSTALL_GHOSTSCRIPT=false
 | 
			
		||||
PHP_FPM_INSTALL_LDAP=false
 | 
			
		||||
PHP_FPM_INSTALL_SWOOLE=false
 | 
			
		||||
PHP_FPM_INSTALL_PG_CLIENT=false
 | 
			
		||||
PHP_FPM_INSTALL_PCNTL=false
 | 
			
		||||
 | 
			
		||||
### PHP_WORKER ############################################
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -175,6 +175,16 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
 | 
			
		||||
    docker-php-ext-install zip \
 | 
			
		||||
;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:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,7 @@ RUN apk --update add wget \
 | 
			
		||||
  libgsasl-dev \
 | 
			
		||||
  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
 | 
			
		||||
 | 
			
		||||
# Install PostgreSQL drivers:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user