From 4a1d0e8e5678b454e52dcd9a16541048b1625023 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 4 Sep 2023 18:58:02 +1000 Subject: [PATCH] Added /sbin/init-container execution if exists, for child images --- docker/init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/init b/docker/init index 37d30eb..d41787b 100755 --- a/docker/init +++ b/docker/init @@ -31,6 +31,9 @@ function nginx_start() { fi } +# Run any container setup +[ -x /sbin/init-container ] && /sbin/init-container + # General Setup if [ -x /usr/bin/memcached -a "${MEMCACHED_START}" == "TRUE" ]; then echo "* Starting MEMCACHED..."