From 11cbf7eceea7999981e7ed66f1e991f8c4e42ff4 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Mon, 5 Apr 2021 20:51:02 +0800 Subject: [PATCH] supply gnupg extensino enable --- php-fpm/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index c77d7a6..4a8b3ad 100644 --- a/php-fpm/Dockerfile +++ b/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: