From e29163dfa4cc56b9add3f83703e3e5722c333995 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 22 Nov 2025 13:46:32 -0800 Subject: [PATCH] fix: remove invalid shell operators from Dockerfile COPY - Remove '|| true' from COPY commands (not supported in Dockerfile) - Remove optional weed_pub* and weed_sub* copies (not needed for tests) - Simplify Dockerfile to only copy required files - Keep chmod +x and ls -la verification for main binary --- docker/Dockerfile.local | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker/Dockerfile.local b/docker/Dockerfile.local index 4e3200488..9ea378401 100644 --- a/docker/Dockerfile.local +++ b/docker/Dockerfile.local @@ -2,8 +2,6 @@ FROM alpine AS final LABEL author="Chris Lu" COPY ./weed /usr/bin/weed RUN chmod +x /usr/bin/weed && ls -la /usr/bin/weed -COPY ./weed_pub* /usr/bin/ || true -COPY ./weed_sub* /usr/bin/ || true RUN mkdir -p /etc/seaweedfs COPY ./filer.toml /etc/seaweedfs/filer.toml COPY ./entrypoint.sh /entrypoint.sh