Skip to content

Commit ea8a082

Browse files
author
brad
committed
up php
1 parent 70130a1 commit ea8a082

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php/7.4-Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM php:7.4.20-fpm-alpine
33
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
44
RUN chmod +x /usr/local/bin/install-php-extensions && sync
55

6-
RUN install-php-extensions gd pdo_mysql bcmath opcache pcntl zip redis mcrypt ssh2 swoole
6+
# see https://github.com/mlocati/docker-php-extension-installer
7+
RUN install-php-extensions gd pdo_mysql bcmath opcache pcntl zip redis mcrypt ssh2 swoole mysqli
78

89
# 默认关闭一些扩展
910
RUN cd /usr/local/etc/php/conf.d && rm -rf docker-php-ext-swoole.ini

0 commit comments

Comments
 (0)