From bcfac99b55b295475adf99272c19ba5f7658c318 Mon Sep 17 00:00:00 2001 From: mixeme Date: Sun, 9 Aug 2026 09:42:41 +0300 Subject: [PATCH] fix(entrypoint): drop dash-incompatible ERR trap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI logged only "trap: ERR: bad trap" — /bin/sh is dash, which rejects ERR traps and then set -e exits before hostname checks or /data setup. Keep portable step() echoes for the next CI diagnosis. Co-Authored-By: Composer Co-authored-by: Cursor --- build/entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/entrypoint.sh b/build/entrypoint.sh index ab54583..55f7fc5 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -7,9 +7,8 @@ # tests see the FATAL text rather than an earlier set -e abort). set -e # #region agent log -# Debug: CI showed exit=1 with empty docker logs after /data/opendkim was -# created — surface the failing line under set -e (session 816647). -trap 'echo "entrypoint: command failed at line $LINENO (exit $?)" >&2' ERR +# Debug (session 816647): dash does not support `trap … ERR` ("bad trap" then +# set -e aborts before hostname checks). Step echoes only — portable on /bin/sh. step() { echo "entrypoint: $*" >&2; } # #endregion