From 2a4c8d5f5227b865a4147ef72b6dec366113010e Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Sat, 9 May 2026 16:25:28 -0400 Subject: [PATCH] fix(docker): chmod apply-overlay.sh before execution (exit 126) --- deploy/truenas/core/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/truenas/core/Dockerfile b/deploy/truenas/core/Dockerfile index 237dcfa..dd1abf4 100644 --- a/deploy/truenas/core/Dockerfile +++ b/deploy/truenas/core/Dockerfile @@ -55,8 +55,10 @@ RUN git clone --depth=1 --branch ${RESTREAMER_UI_REF} \ WORKDIR /ui RUN yarn install --frozen-lockfile --network-timeout 600000 -# Apply Wild Dragon branding + WebRTC controls -RUN OVERLAY=/wd-ui/overlay UI=/ui /wd-ui/apply-overlay.sh +# Apply Wild Dragon branding + WebRTC controls. +# chmod is required because git may clone the script without +x. +RUN chmod +x /wd-ui/apply-overlay.sh && \ + OVERLAY=/wd-ui/overlay UI=/ui /wd-ui/apply-overlay.sh RUN PUBLIC_URL="./" GENERATE_SOURCEMAP=false yarn build