Browse Source

supply gnupg extensino enable

Shao Yu-Lung (Allen) 4 years ago
parent
commit
11cbf7ecee
1 changed files with 3 additions and 1 deletions
  1. 3 1
      php-fpm/Dockerfile

+ 3 - 1
php-fpm/Dockerfile

@@ -111,7 +111,9 @@ RUN if [ ${INSTALL_GNUPG} = true ]; then \
       else \
         pecl install gnupg; \
       fi; \
-    fi
+    fi; \
+    docker-php-ext-enable gnupg;  \
+    php -m | grep -q 'gnupg'
 
 ###########################################################################
 # SSH2: