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 # define script basic information
# Version of this Dockerfile # Version of this Dockerfile
ENV SCRIPT_VERSION=1.4.0 ENV SCRIPT_VERSION=1.4.1
# Download address uses backup address # Download address uses backup address
ARG USE_BACKUP_ADDRESS ARG USE_BACKUP_ADDRESS

View File

@@ -60,6 +60,7 @@ function check_before_configure() {
calendar) ;; calendar) ;;
ctype) ;; ctype) ;;
filter) ;; filter) ;;
fileinfo) ;;
gd) ;; gd) ;;
hash) ;; hash) ;;
iconv) ;; iconv) ;;
@@ -158,6 +159,7 @@ function check_in_configure() {
dom) php_configure="$php_configure --enable-dom" ;; 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" ;; 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" ;; filter) php_configure="$php_configure --enable-filter" ;;
fileinfo) php_configure="$php_configure --enable-fileinfo" ;;
gd) gd)
case $1 in case $1 in
7.3.*|7.2.*) php_configure="$php_configure --with-gd" ;; 7.3.*|7.2.*) php_configure="$php_configure --with-gd" ;;

View File

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