Seperated mysqli and tokenizer as seperate options without putting them under code igniter

This commit is contained in:
Marius van Zundert 2017-03-09 09:29:07 +01:00
parent 7a343f168f
commit 36fcc6674e
3 changed files with 5 additions and 10 deletions

View File

@ -150,8 +150,7 @@ COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
ARG INSTALL_MYSQLI=false
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
# Install mysqli PHP extentions requirements
docker-php-ext-install mysqli && \
docker-php-ext-install mysqli \
;fi
#####################################
@ -160,7 +159,6 @@ RUN if [ ${INSTALL_MYSQLI} = true ]; then \
ARG INSTALL_TOKENIZER=false
RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
# Install tokenizer PHP extentions requirements
docker-php-ext-install tokenizer \
;fi

View File

@ -178,11 +178,9 @@ COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
#####################################
# Mysqli Modifications:
#####################################
ARG INSTALL_MYSQLI=false
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
# Install mysqli PHP extentions requirements
docker-php-ext-install mysqli && \
docker-php-ext-install mysqli \
;fi
#####################################
@ -191,7 +189,6 @@ RUN if [ ${INSTALL_MYSQLI} = true ]; then \
ARG INSTALL_TOKENIZER=false
RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
# Install tokenizer PHP extentions requirements
docker-php-ext-install tokenizer \
;fi