From 7c635c4508479003d5db391bbf554fca89854f66 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 21 May 2026 14:11:08 -0700 Subject: [PATCH] fix(docker): restore executable bit on prebuilt weed-volume (#9616) GitHub Actions artifacts drop the executable bit, so the pre-built Rust volume server lands in the image as 0644 and 'weed-volume' fails to start with 'exec: Permission denied'. chmod it 0755 after copying. --- docker/Dockerfile.go_build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index 051831dd7..6aed44bd0 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -42,6 +42,10 @@ RUN if [ -f "/prebuilt/weed-volume-${TARGETARCH}" ]; then \ echo "Skipping Rust build for $TARGETARCH (unsupported)" && \ touch /weed-volume; \ fi +# Pre-built binaries arrive via GitHub Actions artifacts, which drop the +# executable bit, so the copied file is 0644 and exec fails with "Permission +# denied". Restore it (no-op for the empty placeholder, which stays size 0). +RUN chmod 0755 /weed-volume FROM alpine AS final LABEL author="Chris Lu"