File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ PHP_FPM_INSTALL_MYSQLI=false
6868PHP_FPM_INSTALL_TOKENIZER=false
6969PHP_FPM_INSTALL_INTL=false
7070PHP_FPM_INSTALL_GHOSTSCRIPT=false
71+ PHP_FPM_INSTALL_SWOOLE=false
7172
7273### NGINX ##############################################################################################################
7374
Original file line number Diff line number Diff line change @@ -92,6 +92,17 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
9292 && docker-php-ext-enable redis \
9393;fi
9494
95+ #####################################
96+ # Swoole EXTENSION FOR PHP 5
97+ #####################################
98+
99+ ARG INSTALL_SWOOLE=false
100+ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
101+ # Install Php Swoole Extension
102+ pecl install swoole \
103+ && docker-php-ext-enable swoole \
104+ ;fi
105+
95106#####################################
96107# MongoDB:
97108#####################################
Original file line number Diff line number Diff line change @@ -89,6 +89,17 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
8989 && docker-php-ext-enable redis \
9090;fi
9191
92+ #####################################
93+ # Swoole EXTENSION FOR PHP 7
94+ #####################################
95+
96+ ARG INSTALL_SWOOLE=false
97+ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
98+ # Install Php Swoole Extension
99+ pecl install swoole \
100+ && docker-php-ext-enable swoole \
101+ ;fi
102+
92103#####################################
93104# MongoDB:
94105#####################################
Original file line number Diff line number Diff line change @@ -89,6 +89,17 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
8989 && docker-php-ext-enable redis \
9090;fi
9191
92+ #####################################
93+ # Swoole EXTENSION FOR PHP 7
94+ #####################################
95+
96+ ARG INSTALL_SWOOLE=false
97+ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
98+ # Install Php Swoole Extension
99+ pecl install swoole \
100+ && docker-php-ext-enable swoole \
101+ ;fi
102+
92103#####################################
93104# MongoDB:
94105#####################################
@@ -166,7 +177,7 @@ RUN if [ ${INSTALL_AEROSPIKE} = true ]; then \
166177 # Fix dependencies for PHPUnit within aerospike extension
167178 apt-get update -yqq && \
168179 apt-get -y install sudo wget && \
169-
180+
170181 # Install the php aerospike extension
171182 curl -L -o /tmp/aerospike-client-php.tar.gz "https://github.com/aerospike/aerospike-client-php/archive/3.4.14.tar.gz" \
172183 && mkdir -p aerospike-client-php \
You can’t perform that action at this time.
0 commit comments