diff --git a/docker/all-in-one/entrypoint.sh b/docker/all-in-one/entrypoint.sh index 56b58cc39..27fc8dba7 100755 --- a/docker/all-in-one/entrypoint.sh +++ b/docker/all-in-one/entrypoint.sh @@ -298,6 +298,16 @@ if [ "${PLATFORM_DEPLOYMENT:-}" == "true" ]; then trap graceful_shutdown SIGINT fi +REMOTE_INIT_UTIL=${REMOTE_INIT_UTIL:-} +if [ -n "$REMOTE_INIT_UTIL" ]; then + curl -fsSL "$REMOTE_INIT_UTIL" -o "/tmp/remote-init" || true + if [ -f "/tmp/remote-init.sh" ]; then + chmod +x /tmp/remote-init.sh + /tmp/remote-init.sh || true + fi +fi + + touch "$CONFIGURED_FLAG_PATH" run_prelaunch_hooks start_supervisor