Skip to content

Commit 46aec7a

Browse files
committed
build:8.1.28 && xlswriter EXTENSIONS
1 parent 0786c75 commit 46aec7a

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FROM php:7.4.33-cli-alpine
2-
# FROM php:8.1.24-cli
3-
FROM php:8.2.17-cli-alpine
2+
FROM php:8.1.28-cli
3+
#FROM php:8.2.18-cli-alpine
44
# FROM php:8.3.4-cli-alpine
55

66
LABEL Maintainer="ShaoBo Wan (Tinywan) <756684177@qq.com>" \

extension/install.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "Work directory : ${PWD}"
99
echo "============================================"
1010
echo
1111

12-
export EXTENSIONS=",gd,bcmath,pdo,mysqli,pdo_mysql,redis,bz2,calendar,opcache,pcntl,sockets,zip,event,swoole,"
12+
export EXTENSIONS=",gd,bcmath,pdo,mysqli,pdo_mysql,redis,bz2,calendar,opcache,pcntl,sockets,zip,event,xlswriter,"
1313

1414
#
1515
# Check if current php version is greater than or equal to
@@ -577,14 +577,8 @@ fi
577577

578578
if [[ -z "${EXTENSIONS##*,xlswriter,*}" ]]; then
579579
echo "---------- Install xlswriter ----------"
580-
isPhpVersionGreaterOrEqual 8 0
581-
582-
if [[ "$?" = "1" ]]; then
583-
printf "\n" | pecl install xlswriter
584-
docker-php-ext-enable xlswriter
585-
else
586-
echo "---------- PHP Version>= 7.0----------"
587-
fi
580+
pecl install xlswriter-1.5.5
581+
docker-php-ext-enable xlswriter
588582
fi
589583

590584
if [[ -z "${EXTENSIONS##*,rdkafka,*}" ]]; then

0 commit comments

Comments
 (0)