From 7de50c5d570eac8303222b848dd1e2fe5d5f4496 Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 8 Oct 2026 10:16:33 +0200 Subject: [PATCH] fix(docker): put the escaped newline back into the VERSION printf c6b6b83d3 wrote a real line break where `printf '%s\n'` belongs, so the RUN instruction ended inside the quote and Docker read the next line as an instruction of its own: "dockerfile parse error on line 135: unknown instruction: '". Every image build from dev fails on it. PR CI builds no image, and the scout job on the release PR was already red for another reason, so nothing showed it. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 31f72ffaf..9aa594bbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,8 +131,7 @@ ENV PORT=3000 # the clients would never pick up the new bundle. The server reads this file # first (server/src/app-config/image-version.ts). ARG APP_VERSION=dev -RUN if [ "$APP_VERSION" != "dev" ]; then printf '%s -' "$APP_VERSION" > /app/server/VERSION; fi +RUN if [ "$APP_VERSION" != "dev" ]; then printf '%s\n' "$APP_VERSION" > /app/server/VERSION; fi # OCI metadata: Renovate, Watchtower and the registries read the source label to # link an image update to its release notes (#1498). The release workflows add