Add fileinfo extension to default

This commit is contained in:
crazywhalecc 2022-04-11 23:41:27 +08:00
parent bfe986e62a
commit 6f078b6865
3 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM alpine:latest
# define script basic information
# Version of this Dockerfile
ENV SCRIPT_VERSION=1.4.0
ENV SCRIPT_VERSION=1.4.1
# Download address uses backup address
ARG USE_BACKUP_ADDRESS

View File

@ -60,6 +60,7 @@ function check_before_configure() {
calendar) ;;
ctype) ;;
filter) ;;
fileinfo) ;;
gd) ;;
hash) ;;
iconv) ;;
@ -158,6 +159,7 @@ function check_in_configure() {
dom) php_configure="$php_configure --enable-dom" ;;
event) php_configure="$php_configure --with-event-core --with-event-extra --with-event-openssl --with-event-extra --disable-event-sockets" ;;
filter) php_configure="$php_configure --enable-filter" ;;
fileinfo) php_configure="$php_configure --enable-fileinfo" ;;
gd)
case $1 in
7.3.*|7.2.*) php_configure="$php_configure --with-gd" ;;

View File

@ -3,6 +3,7 @@ calendar
ctype
curl
dom
fileinfo
filter
gd
hash