From 67b7d186071b83761e010c60fda0c1de0d70285e Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Thu, 7 Oct 2021 23:32:57 +0800 Subject: [PATCH] fix typo --- php-fpm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 44b296d2..1f99e726 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -357,7 +357,7 @@ ARG INSTALL_MONGO=false RUN if [ ${INSTALL_MONGO} = true ]; then \ # Install the mongodb extension if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ - pecl install mongo && \ + pecl install mongo; \ docker-php-ext-enable mongo; \ php -m | grep -oiE '^mongo$'; \ else \ @@ -366,7 +366,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ else \ pecl install mongodb; \ fi; \ - docker-php-ext-enable mongodb \ + docker-php-ext-enable mongodb; \ php -m | grep -oiE '^mongodb$'; \ fi; \ fi