File tree Expand file tree Collapse file tree 14 files changed +20
-20
lines changed Expand file tree Collapse file tree 14 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 1- FROM bcgdesign/nginx:alpine-3.12-1.3.2
1+ FROM bcgdesign/nginx:alpine-3.12-1.4.1
22
33LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
44 org.label-schema.name="Nginx + PHP" \
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ set -euo pipefail
99#======================================================================================================================
1010
1111VERSION=$(php -r "echo PHP_VERSION;")
12- _echo "Starting PHP v${VERSION} - FastCGI Process Manager"
12+ bcg-echo "Starting PHP v${VERSION} - FastCGI Process Manager"
1313php-fpm7 -F
Original file line number Diff line number Diff line change 1- FROM bcgdesign/nginx:alpine-3.13-1.3.2
1+ FROM bcgdesign/nginx:alpine-3.13-1.4.1
22
33LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
44 org.label-schema.name="Nginx + PHP" \
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ set -euo pipefail
99#======================================================================================================================
1010
1111VERSION=$(php -r "echo PHP_VERSION;")
12- _echo "Starting PHP v${VERSION} - FastCGI Process Manager"
12+ bcg-echo "Starting PHP v${VERSION} - FastCGI Process Manager"
1313php-fpm7 -F
Original file line number Diff line number Diff line change 1- FROM bcgdesign/nginx:alpine-3.13-1.3.2
1+ FROM bcgdesign/nginx:alpine-3.13-1.4.1
22
33LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
44 org.label-schema.name="Nginx + PHP" \
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ set -euo pipefail
99#======================================================================================================================
1010
1111VERSION=$(php -r "echo PHP_VERSION;")
12- _echo "Starting PHP v${VERSION} - FastCGI Process Manager"
12+ bcg-echo "Starting PHP v${VERSION} - FastCGI Process Manager"
1313php-fpm8 -F
Original file line number Diff line number Diff line change 1- 1.3.2
1+ 1.4.0
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set -euo pipefail
77# Optionally override configuration
88#======================================================================================================================
99
10- _echo "Setting www.conf configuration values..."
10+ bcg-echo "Setting www.conf configuration values..."
1111
1212declare -A VALUES
1313VALUES["user"]="www"
@@ -17,4 +17,4 @@ VALUES["log_level"]="${PHP_FPM_LOG_LEVEL-}"
1717source /etc/functions/replace.sh
1818replace VALUES "${PHP_DIR}/php-fpm.d/www.conf"
1919
20- _done
20+ bcg-done
Original file line number Diff line number Diff line change @@ -9,20 +9,20 @@ set -euo pipefail
99
1010DOWNLOADED="${PHP_DIR}/php.ini-${PHP_INI}.downloaded"
1111if [ -e ${DOWNLOADED} ] ; then
12- _ok "php.ini already downloaded."
12+ bcg-ok "php.ini already downloaded."
1313 exit 0
1414fi
1515
1616if [ "${PHP_INI}" = "development" ] || [ "${PHP_INI}" = "production" ] ; then
1717
1818 URL="https://raw.githubusercontent.com/php/php-src/master/php.ini-${PHP_INI}"
19- _echo "Downloading php.ini from ${URL}..."
19+ bcg-echo "Downloading php.ini from ${URL}..."
2020 wget -O "${PHP_DIR}/php.ini" ${URL} \
2121 && touch ${DOWNLOADED}
22- _done
22+ bcg-done
2323
2424else
2525
26- _error "Unsupported PHP_INI value: '${PHP_INI}'."
26+ bcg-error "Unsupported PHP_INI value: '${PHP_INI}'."
2727
2828fi
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set -euo pipefail
77# Optionally override configuration
88#======================================================================================================================
99
10- _echo "Setting php.ini configuration values..."
10+ bcg-echo "Setting php.ini configuration values..."
1111
1212declare -A VALUES
1313VALUES["display_errors"]="${PHP_INI_DISPLAY_ERRORS-}"
@@ -22,4 +22,4 @@ VALUES["upload_max_filesize"]="${PHP_INI_MAX_UPLOAD-}"
2222source /etc/functions/replace.sh
2323replace VALUES "${PHP_DIR}/php.ini"
2424
25- _done
25+ bcg-done
You can’t perform that action at this time.
0 commit comments