File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,8 +114,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
114114ARG INSTALL_EXIF=false
115115RUN if [ ${INSTALL_EXIF} = true ]; then \
116116 # Enable Exif PHP extentions requirements
117- docker-php-ext-install exif && \
118- docker-php-ext-enable exif \
117+ docker-php-ext-install exif \
119118;fi
120119
121120#####################################
@@ -147,8 +146,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
147146
148147ARG INSTALL_OPCACHE=false
149148RUN if [ ${INSTALL_OPCACHE} = true ]; then \
150- docker-php-ext-install opcache && \
151- docker-php-ext-enable opcache \
149+ docker-php-ext-install opcache \
152150;fi
153151
154152# Copy opcache configration
Original file line number Diff line number Diff line change @@ -135,8 +135,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
135135ARG INSTALL_EXIF=false
136136RUN if [ ${INSTALL_EXIF} = true ]; then \
137137 # Enable Exif PHP extentions requirements
138- docker-php-ext-install exif && \
139- docker-php-ext-enable exif \
138+ docker-php-ext-install exif \
140139;fi
141140
142141
@@ -168,8 +167,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
168167#####################################
169168ARG INSTALL_OPCACHE=false
170169RUN if [ ${INSTALL_OPCACHE} = true ]; then \
171- docker-php-ext-install opcache && \
172- docker-php-ext-enable opcache \
170+ docker-php-ext-install opcache \
173171;fi
174172
175173# Copy opcache configration
Original file line number Diff line number Diff line change @@ -113,8 +113,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
113113ARG INSTALL_EXIF=false
114114RUN if [ ${INSTALL_EXIF} = true ]; then \
115115 # Enable Exif PHP extentions requirements
116- docker-php-ext-install exif && \
117- docker-php-ext-enable exif \
116+ docker-php-ext-install exif \
118117;fi
119118
120119#####################################
@@ -137,15 +136,15 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
137136 && make install \
138137 ) \
139138 && rm /tmp/aerospike-client-php.tar.gz \
139+ && docker-php-ext-enable aerospike \
140140;fi
141141
142142#####################################
143143# Opcache:
144144#####################################
145145ARG INSTALL_OPCACHE=false
146146RUN if [ ${INSTALL_OPCACHE} = true ]; then \
147- docker-php-ext-install opcache && \
148- docker-php-ext-enable opcache \
147+ docker-php-ext-install opcache \
149148;fi
150149
151150# Copy opcache configration
You can’t perform that action at this time.
0 commit comments