From bf4139cd8dc422f4867d0e5d20546259d9bcdfcd Mon Sep 17 00:00:00 2001 From: albertlast Date: Sun, 13 Sep 2026 07:10:52 +0200 Subject: [PATCH] Silences the manifest build in the Docker entrypoint without backgrounding it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The entrypoint runs under /bin/sh, which is dash in the php image. Dash has no &> operator, so `php -f … &>/dev/null` parsed as `php -f … &` followed by an empty redirection: the build ran in the background, its output went to the container log, and "ready" was logged before the manifest existed. Co-Authored-By: Claude Opus 5 Signed-off-by: albertlast --- .docker/php/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/php/entrypoint.sh b/.docker/php/entrypoint.sh index 631b3b58472..7b721f1f9a1 100644 --- a/.docker/php/entrypoint.sh +++ b/.docker/php/entrypoint.sh @@ -137,7 +137,7 @@ chown -R www-data:www-data \ # more complete testing of the install and upgrade processes. if [ ! -f "$BOARD_DIR/Sources/Maintenance/manifest.php" ]; then log 'building manifest.php' - php -f "$BOARD_DIR/other/update_manifest.php" &>/dev/null || true + php -f "$BOARD_DIR/other/update_manifest.php" >/dev/null 2>&1 || true fi log 'ready'