@@ -65,6 +65,18 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
6565# Copy xdebug configration for remote debugging
6666COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
6767
68+ #####################################
69+ # PHP REDIS EXTENSION FOR PHP 5
70+ #####################################
71+
72+ ARG INSTALL_PHPREDIS=false
73+ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
74+ # Install Php Redis Extension
75+ pecl install -o -f redis \
76+ && rm -rf /tmp/pear \
77+ && docker-php-ext-enable redis \
78+ ;fi
79+
6880#####################################
6981# MongoDB:
7082#####################################
@@ -175,6 +187,29 @@ RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
175187 docker-php-ext-install tokenizer \
176188;fi
177189
190+ #####################################
191+ # Human Language and Character Encoding Support:
192+ #####################################
193+
194+ ARG INSTALL_INTL=false
195+ RUN if [ ${INSTALL_INTL} = true ]; then \
196+ # Install intl and requirements
197+ apt-get install -y zlib1g-dev libicu-dev g++ && \
198+ docker-php-ext-configure intl && \
199+ docker-php-ext-install intl \
200+ ;fi
201+
202+ #####################################
203+ # GHOSTSCRIPT:
204+ #####################################
205+
206+ ARG INSTALL_GHOSTSCRIPT=false
207+ RUN if [ ${GHOSTSCRIPT} = true ]; then \
208+ # Install the ghostscript extension for PDF editing
209+ apt-get update && \
210+ apt-get install -y poppler-utils ghostscript \
211+ ;fi
212+
178213#
179214#--------------------------------------------------------------------------
180215# Final Touch
0 commit comments