Split up mysqli and tokenizer

This commit is contained in:
Marius van Zundert
2017-03-06 09:03:12 +01:00
parent b45f395996
commit 603010cbd5
4 changed files with 34 additions and 14 deletions

View File

@ -142,13 +142,22 @@ RUN if [ ${INSTALL_OPCACHE} = true ]; then \
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
#####################################
# Codeigniter Modifications:
# Mysqli Modifications:
#####################################
ARG CODEIGNITER=false
RUN if [ ${CODEIGNITER} = true ]; then \
# Install Codeigniter PHP extentions requirements
docker-php-ext-install mysqli && \
ARG INSTALL_MYSQLI=false
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
# Install mysqli PHP extentions requirements
docker-php-ext-install mysqli && \
;fi
#####################################
# Tokenizer Modifications:
#####################################
ARG INSTALL_TOKENIZER=false
RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
# Install tokenizer PHP extentions requirements
docker-php-ext-install tokenizer \
;fi