Browse Source

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
pull/7526/head
chrislu 7 days ago
parent
commit
45b45c4a8d
  1. 3
      docker/Dockerfile.local

3
docker/Dockerfile.local

@ -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

Loading…
Cancel
Save