Fix tests on XlsWriter ext

This commit is contained in:
Erik Niebla
2022-01-12 09:05:42 -05:00
parent 37b22ebe01
commit 186928fb07
3 changed files with 3 additions and 3 deletions

View File

@ -372,7 +372,7 @@ ARG INSTALL_XLSWRITER=false
RUN set -eux; \
if [ ${INSTALL_XLSWRITER} = true ]; then \
# Install Php xlswriter Extension \
if [ $(php -r "echo PHP_MAJOR_VERSION;") > "5" ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then \
pecl install xlswriter && \
docker-php-ext-enable xlswriter && \
php -m | grep -q 'xlswriter'; \