From 860b9f58009478c912e268c120363f1f55098544 Mon Sep 17 00:00:00 2001 From: tcoch Date: Tue, 26 Nov 2024 16:50:42 +0100 Subject: [PATCH 1/2] Add a line at the end of docker-entrypoint to indicate that work is done --- frankenphp/docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frankenphp/docker-entrypoint.sh b/frankenphp/docker-entrypoint.sh index ab74418c..d1f87713 100755 --- a/frankenphp/docker-entrypoint.sh +++ b/frankenphp/docker-entrypoint.sh @@ -55,6 +55,8 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var + + echo 'Entrypoint has finished its work !' fi exec docker-php-entrypoint "$@" From 5021aee3f858d3e9ba528aff686ece394912c539 Mon Sep 17 00:00:00 2001 From: "Thomas C." <95548437+tcoch@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:39:56 +0100 Subject: [PATCH 2/2] Simpler message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Works for me ;) Co-authored-by: Kévin Dunglas --- frankenphp/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frankenphp/docker-entrypoint.sh b/frankenphp/docker-entrypoint.sh index d1f87713..c62faad9 100755 --- a/frankenphp/docker-entrypoint.sh +++ b/frankenphp/docker-entrypoint.sh @@ -56,7 +56,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var - echo 'Entrypoint has finished its work !' + echo 'PHP app ready!' fi exec docker-php-entrypoint "$@"