Commit 36fcc667 authored by Marius van Zundert's avatar Marius van Zundert

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

parent 7a343f16
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment