add xlswriter extension

This commit is contained in:
Wuweiming committed 2021-12-16 11:12:21 +08:00
1 parent 27f50abe04
commit 17062bd9d8
5 files changed
+58

No files matched your search

+18
View File
@@ -367,6 +367,24 @@ RUN set -eux; \
php -m | grep -oiE '^swoole$'; \
fi
###########################################################################
# xlswriter:
###########################################################################
ARG INSTALL_XLSWRITER=false
RUN set -eux; \
if [ ${INSTALL_XLSWRITER} = true ]; then \
# Install Php Swoole Extension \
pecl install xlswriter; \
docker-php-ext-enable xlswriter; \
php -m | grep -q 'xlswriter'; \
fi
###########################################################################
# Taint EXTENSION
###########################################################################