mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 02:15:36 +08:00
Add fileinfo extension to default
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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" ;;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ calendar
|
|||||||
ctype
|
ctype
|
||||||
curl
|
curl
|
||||||
dom
|
dom
|
||||||
|
fileinfo
|
||||||
filter
|
filter
|
||||||
gd
|
gd
|
||||||
hash
|
hash
|
||||||
|
|||||||
Reference in New Issue
Block a user