fix: ensure weed binary is executable in Docker image

- Add chmod +x for weed binaries in Dockerfile.local
- Artifact upload/download doesn't preserve executable permissions
- Ensures binaries are executable regardless of source file permissions
This commit is contained in:
chrislu committed 2025-11-22 13:36:46 -08:00
1 parent e8e9df2680
commit 45b45c4a8d
1 file changed
+2 -1
+2 -1
View File
@@ -10,7 +10,8 @@ COPY ./entrypoint.sh /entrypoint.sh
# Install dependencies and create non-root user
RUN apk add --no-cache fuse curl su-exec && \
addgroup -g 1000 seaweed && \
adduser -D -u 1000 -G seaweed seaweed
adduser -D -u 1000 -G seaweed seaweed && \
chmod +x /usr/bin/weed /usr/bin/weed_pub* /usr/bin/weed_sub* 2>/dev/null || true
# volume server grpc port
EXPOSE 18080