File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export LC_ALL=C.UTF-8
2222source " $CI_TOOLS_PATH /helper/common.sh.inc"
2323source " $CI_TOOLS_PATH /helper/container.sh.inc"
2424source " $CI_TOOLS_PATH /helper/container-alpine.sh.inc"
25+ source " $CI_TOOLS_PATH /helper/php.sh.inc"
2526source " $CI_TOOLS_PATH /helper/git.sh.inc"
2627
2728BUILD_DIR=" $( CDPATH= cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd -P) "
@@ -46,6 +47,15 @@ CONTAINER="$(buildah from "$IMAGE-base")"
4647echo + " MOUNT=\"\$ (buildah mount $( quote " $CONTAINER " ) )\" " >&2
4748MOUNT=" $( buildah mount " $CONTAINER " ) "
4849
50+ PHP_FPM_OPEN_BASEDIR_CONF=( " /var/www/" " /etc/phpmyadmin/" " /usr/local/lib/php/" " /tmp/php/" " /dev/urandom" )
51+ cmd php_patch_config_list -a " $CONTAINER " " /etc/php-fpm/pool.d/www.conf" \
52+ " php(_admin)?_(flag|value)" \
53+ " php_admin_value[open_basedir]" " $( IFS=:; echo " ${PHP_FPM_OPEN_BASEDIR_CONF[*]} " ) " \
54+ " php_admin_value[memory_limit]" " 512M" \
55+ " php_admin_value[max_execution_time]" " 600" \
56+ " php_admin_value[upload_max_filesize]" " 256M" \
57+ " php_admin_value[post_max_size]" " 264M"
58+
4959echo + " rm -f …/docker-entrypoint.sh" >&2
5060rm -f " $MOUNT /docker-entrypoint.sh"
5161
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments