Skip to content

Commit 4425cd6

Browse files
authored
v1.4.0 (#13)
Major updates * Updating to latest base image * Using bcg- executables
1 parent 2c81435 commit 4425cd6

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

7.3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bcgdesign/nginx:alpine-3.12-1.3.2
1+
FROM bcgdesign/nginx:alpine-3.12-1.4.1
22

33
LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
44
org.label-schema.name="Nginx + PHP" \

7.3/php-fpm/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ set -euo pipefail
99
#======================================================================================================================
1010

1111
VERSION=$(php -r "echo PHP_VERSION;")
12-
_echo "Starting PHP v${VERSION} - FastCGI Process Manager"
12+
bcg-echo "Starting PHP v${VERSION} - FastCGI Process Manager"
1313
php-fpm7 -F

7.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bcgdesign/nginx:alpine-3.13-1.3.2
1+
FROM bcgdesign/nginx:alpine-3.13-1.4.1
22

33
LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
44
org.label-schema.name="Nginx + PHP" \

7.4/php-fpm/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ set -euo pipefail
99
#======================================================================================================================
1010

1111
VERSION=$(php -r "echo PHP_VERSION;")
12-
_echo "Starting PHP v${VERSION} - FastCGI Process Manager"
12+
bcg-echo "Starting PHP v${VERSION} - FastCGI Process Manager"
1313
php-fpm7 -F

8.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bcgdesign/nginx:alpine-3.13-1.3.2
1+
FROM bcgdesign/nginx:alpine-3.13-1.4.1
22

33
LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
44
org.label-schema.name="Nginx + PHP" \

8.0/php-fpm/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ set -euo pipefail
99
#======================================================================================================================
1010

1111
VERSION=$(php -r "echo PHP_VERSION;")
12-
_echo "Starting PHP v${VERSION} - FastCGI Process Manager"
12+
bcg-echo "Starting PHP v${VERSION} - FastCGI Process Manager"
1313
php-fpm8 -F

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.2
1+
1.4.0

overlay/etc/cont-init.d/20-php-fpm-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1212
declare -A VALUES
1313
VALUES["user"]="www"
@@ -17,4 +17,4 @@ VALUES["log_level"]="${PHP_FPM_LOG_LEVEL-}"
1717
source /etc/functions/replace.sh
1818
replace VALUES "${PHP_DIR}/php-fpm.d/www.conf"
1919

20-
_done
20+
bcg-done

overlay/etc/cont-init.d/21-php-ini-download

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ set -euo pipefail
99

1010
DOWNLOADED="${PHP_DIR}/php.ini-${PHP_INI}.downloaded"
1111
if [ -e ${DOWNLOADED} ] ; then
12-
_ok "php.ini already downloaded."
12+
bcg-ok "php.ini already downloaded."
1313
exit 0
1414
fi
1515

1616
if [ "${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

2424
else
2525

26-
_error "Unsupported PHP_INI value: '${PHP_INI}'."
26+
bcg-error "Unsupported PHP_INI value: '${PHP_INI}'."
2727

2828
fi

overlay/etc/cont-init.d/22-php-ini-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1212
declare -A VALUES
1313
VALUES["display_errors"]="${PHP_INI_DISPLAY_ERRORS-}"
@@ -22,4 +22,4 @@ VALUES["upload_max_filesize"]="${PHP_INI_MAX_UPLOAD-}"
2222
source /etc/functions/replace.sh
2323
replace VALUES "${PHP_DIR}/php.ini"
2424

25-
_done
25+
bcg-done

0 commit comments

Comments
 (0)