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

@ -7,7 +7,7 @@ services:
applications:
image: tianon/true
volumes:
- ${APPLICATIONS_HOST_DIR}:/var/www
- ${APPLICATIONS_HOST_DIR}:/var/www
### Workspace Utilities Container ###########################

View File

@ -149,9 +149,8 @@ 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 && \
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
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 && \
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
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