File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ PHP_FPM_INSTALL_GHOSTSCRIPT=false
138138PHP_FPM_INSTALL_LDAP=false
139139PHP_FPM_INSTALL_SWOOLE=false
140140PHP_FPM_INSTALL_PG_CLIENT=false
141+ PHP_FPM_INSTALL_PCNTL=false
141142
142143### PHP_WORKER ############################################
143144
Original file line number Diff line number Diff line change @@ -168,6 +168,16 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
168168 docker-php-ext-install zip \
169169;fi
170170
171+ # ##########################################################################
172+ # pcntl
173+ # ##########################################################################
174+
175+ ARG INSTALL_PCNTL=false
176+ RUN if [ ${INSTALL_PCNTL} = true]; then \
177+ # Installs pcntl, helpful for running Horizon
178+ docker-php-ext-install pcntl \
179+ ;fi
180+
171181# ##########################################################################
172182# bcmath:
173183# ##########################################################################
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ RUN apk --update add wget \
2222 libgsasl-dev \
2323 supervisor
2424
25- RUN docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml
25+ RUN docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl
2626RUN pecl channel-update pecl.php.net && pecl install memcached mcrypt-1.0.1 && docker-php-ext-enable memcached
2727
2828# Install PostgreSQL drivers:
You can’t perform that action at this time.
0 commit comments