Skip to content

Commit 9096737

Browse files
authored
Merge pull request laradock#694 from Mvzundert/master
Docker-71 and Nginx examples
2 parents 3429681 + 4588685 commit 9096737

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

php-fpm/Dockerfile-71

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,19 @@ RUN if [ ${INSTALL_OPCACHE} = true ]; then \
130130
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
131131

132132
#####################################
133-
# Codeigniter Modifications:
133+
# Mysqli Modifications:
134+
#####################################
135+
ARG INSTALL_MYSQLI=false
136+
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
137+
docker-php-ext-install mysqli \
138+
;fi
139+
140+
#####################################
141+
# Tokenizer Modifications:
134142
#####################################
135143

136-
ARG CODEIGNITER=false
137-
RUN if [ ${CODEIGNITER} = true ]; then \
138-
# Install Codeigniter PHP extentions requirements
139-
docker-php-ext-install mysqli && \
144+
ARG INSTALL_TOKENIZER=false
145+
RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
140146
docker-php-ext-install tokenizer \
141147
;fi
142148

0 commit comments

Comments
 (0)