Fixing the php ext already loaded warnings
Example: ``` warning: exif (exif.so) is already loaded! ```
This commit is contained in:
parent
f5478cfef5
commit
0594681760
|
@ -114,8 +114,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||||
ARG INSTALL_EXIF=false
|
ARG INSTALL_EXIF=false
|
||||||
RUN if [ ${INSTALL_EXIF} = true ]; then \
|
RUN if [ ${INSTALL_EXIF} = true ]; then \
|
||||||
# Enable Exif PHP extentions requirements
|
# Enable Exif PHP extentions requirements
|
||||||
docker-php-ext-install exif && \
|
docker-php-ext-install exif \
|
||||||
docker-php-ext-enable exif \
|
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -147,8 +146,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
|
||||||
|
|
||||||
ARG INSTALL_OPCACHE=false
|
ARG INSTALL_OPCACHE=false
|
||||||
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
||||||
docker-php-ext-install opcache && \
|
docker-php-ext-install opcache \
|
||||||
docker-php-ext-enable opcache \
|
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# Copy opcache configration
|
# Copy opcache configration
|
||||||
|
|
|
@ -135,8 +135,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||||
ARG INSTALL_EXIF=false
|
ARG INSTALL_EXIF=false
|
||||||
RUN if [ ${INSTALL_EXIF} = true ]; then \
|
RUN if [ ${INSTALL_EXIF} = true ]; then \
|
||||||
# Enable Exif PHP extentions requirements
|
# Enable Exif PHP extentions requirements
|
||||||
docker-php-ext-install exif && \
|
docker-php-ext-install exif \
|
||||||
docker-php-ext-enable exif \
|
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -168,8 +167,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
|
||||||
#####################################
|
#####################################
|
||||||
ARG INSTALL_OPCACHE=false
|
ARG INSTALL_OPCACHE=false
|
||||||
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
||||||
docker-php-ext-install opcache && \
|
docker-php-ext-install opcache \
|
||||||
docker-php-ext-enable opcache \
|
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# Copy opcache configration
|
# Copy opcache configration
|
||||||
|
|
|
@ -113,8 +113,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||||
ARG INSTALL_EXIF=false
|
ARG INSTALL_EXIF=false
|
||||||
RUN if [ ${INSTALL_EXIF} = true ]; then \
|
RUN if [ ${INSTALL_EXIF} = true ]; then \
|
||||||
# Enable Exif PHP extentions requirements
|
# Enable Exif PHP extentions requirements
|
||||||
docker-php-ext-install exif && \
|
docker-php-ext-install exif \
|
||||||
docker-php-ext-enable exif \
|
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -137,6 +136,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
|
||||||
&& make install \
|
&& make install \
|
||||||
) \
|
) \
|
||||||
&& rm /tmp/aerospike-client-php.tar.gz \
|
&& rm /tmp/aerospike-client-php.tar.gz \
|
||||||
|
&& docker-php-ext-enable aerospike \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -144,8 +144,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
|
||||||
#####################################
|
#####################################
|
||||||
ARG INSTALL_OPCACHE=false
|
ARG INSTALL_OPCACHE=false
|
||||||
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
|
||||||
docker-php-ext-install opcache && \
|
docker-php-ext-install opcache \
|
||||||
docker-php-ext-enable opcache \
|
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# Copy opcache configration
|
# Copy opcache configration
|
||||||
|
|
Loading…
Reference in New Issue