File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,17 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
107107 docker-php-ext-enable memcached \
108108;fi
109109
110+ #####################################
111+ # Exif:
112+ #####################################
113+
114+ ARG INSTALL_EXIF=false
115+ RUN if [ ${INSTALL_EXIF} = true ]; then \
116+ # Enable Exif PHP extentions requirements
117+ docker-php-ext-install exif && \
118+ docker-php-ext-enable exif \
119+ ;fi
120+
110121#####################################
111122# PHP Aerospike:
112123#####################################
Original file line number Diff line number Diff line change @@ -61,8 +61,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
6161;fi
6262
6363#####################################
64- # PHP REDIS EXTENSION FOR PHP 7.0
64+ # PHP REDIS EXTENSION FOR PHP 7
6565#####################################
66+
6667ARG INSTALL_PHPREDIS=false
6768RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
6869 # Install Php Redis Extension
Original file line number Diff line number Diff line change @@ -48,6 +48,18 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
4848 docker-php-ext-enable xdebug \
4949;fi
5050
51+ #####################################
52+ # PHP REDIS EXTENSION FOR PHP 7
53+ #####################################
54+
55+ ARG INSTALL_PHPREDIS=false
56+ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
57+ # Install Php Redis Extension
58+ pecl install -o -f redis \
59+ && rm -rf /tmp/pear \
60+ && docker-php-ext-enable redis \
61+ ;fi
62+
5163# Copy xdebug configration for remote debugging
5264COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
5365
@@ -94,6 +106,17 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
94106 && docker-php-ext-enable memcached \
95107;fi
96108
109+ #####################################
110+ # Exif:
111+ #####################################
112+
113+ ARG INSTALL_EXIF=false
114+ RUN if [ ${INSTALL_EXIF} = true ]; then \
115+ # Enable Exif PHP extentions requirements
116+ docker-php-ext-install exif && \
117+ docker-php-ext-enable exif \
118+ ;fi
119+
97120#####################################
98121# PHP Aerospike:
99122#####################################
You can’t perform that action at this time.
0 commit comments