mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 05:54:24 +02:00
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:
1 parent
e8e9df2680
commit
45b45c4a8d
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user