fix(docker): add libgcc to Alpine runtime for Rust volume server (#8883)
The Rust weed-volume binary requires libgcc_s.so.1 for stack unwinding (_Unwind_* symbols). Without it, the binary fails to load in the Alpine container with "Error loading shared library libgcc_s.so.1".
This commit is contained in:
@@ -51,7 +51,7 @@ COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/entrypoint.sh
|
|||||||
|
|
||||||
# Install dependencies and create non-root user
|
# Install dependencies and create non-root user
|
||||||
RUN apk upgrade --no-cache zlib && \
|
RUN apk upgrade --no-cache zlib && \
|
||||||
apk add --no-cache fuse curl su-exec && \
|
apk add --no-cache fuse curl su-exec libgcc && \
|
||||||
addgroup -g 1000 seaweed && \
|
addgroup -g 1000 seaweed && \
|
||||||
adduser -D -u 1000 -G seaweed seaweed
|
adduser -D -u 1000 -G seaweed seaweed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user