Seperated mysqli and tokenizer as seperate options without putting them under code igniter
This commit is contained in:
parent
7a343f168f
commit
36fcc6674e
|
@ -7,7 +7,7 @@ services:
|
|||
applications:
|
||||
image: tianon/true
|
||||
volumes:
|
||||
- ${APPLICATIONS_HOST_DIR}:/var/www
|
||||
- ${APPLICATIONS_HOST_DIR}:/var/www
|
||||
|
||||
### Workspace Utilities Container ###########################
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue