fix typo
This commit is contained in:
parent
4439c16acd
commit
67b7d18607
|
@ -357,7 +357,7 @@ ARG INSTALL_MONGO=false
|
||||||
RUN if [ ${INSTALL_MONGO} = true ]; then \
|
RUN if [ ${INSTALL_MONGO} = true ]; then \
|
||||||
# Install the mongodb extension
|
# Install the mongodb extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install mongo && \
|
pecl install mongo; \
|
||||||
docker-php-ext-enable mongo; \
|
docker-php-ext-enable mongo; \
|
||||||
php -m | grep -oiE '^mongo$'; \
|
php -m | grep -oiE '^mongo$'; \
|
||||||
else \
|
else \
|
||||||
|
@ -366,7 +366,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
||||||
else \
|
else \
|
||||||
pecl install mongodb; \
|
pecl install mongodb; \
|
||||||
fi; \
|
fi; \
|
||||||
docker-php-ext-enable mongodb \
|
docker-php-ext-enable mongodb; \
|
||||||
php -m | grep -oiE '^mongodb$'; \
|
php -m | grep -oiE '^mongodb$'; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue