Merge pull request #1345 from jdxia/master
workspace container adds swoole
This commit is contained in:
@ -248,6 +248,18 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||
phpenmod redis \
|
||||
;fi
|
||||
|
||||
#####################################
|
||||
# Swoole EXTENSION FOR PHP 7
|
||||
#####################################
|
||||
|
||||
ARG INSTALL_SWOOLE=false
|
||||
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
|
||||
# Install Php Swoole Extension
|
||||
pecl -q install swoole && \
|
||||
echo "extension=swoole.so" >> /etc/php/7.1/mods-available/swoole.ini && \
|
||||
ln -s /etc/php/7.1/mods-available/swoole.ini /etc/php/7.1/cli/conf.d/20-swoole.ini \
|
||||
;fi
|
||||
|
||||
#####################################
|
||||
# Drush:
|
||||
#####################################
|
||||
|
Reference in New Issue
Block a user