mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Add fileinfo extension to default
This commit is contained in:
parent
bfe986e62a
commit
6f078b6865
@ -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
|
||||
|
||||
@ -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" ;;
|
||||
|
||||
@ -3,6 +3,7 @@ calendar
|
||||
ctype
|
||||
curl
|
||||
dom
|
||||
fileinfo
|
||||
filter
|
||||
gd
|
||||
hash
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user