Merge pull request #694 from Mvzundert/master

Docker-71 and Nginx examples
This commit is contained in:
Mahmoud Zalt 2017-03-20 13:22:49 -04:00 committed by GitHub
commit 9096737aa7
3 changed files with 11 additions and 5 deletions

View File

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