Skip to content

Commit 523a1ba

Browse files
committed
fix(docker): add libgcc to runtime image for Rust unwinding symbols
The dcap-qvl static library requires libgcc_s.so.1 for _Unwind_* symbols at runtime on Alpine.
1 parent dffd4fc commit 523a1ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN if echo " $GO_BUILD_TAGS " | grep -q " dcap "; then \
2424

2525
FROM alpine:3.21
2626
WORKDIR /app
27+
RUN apk add --no-cache libgcc
2728
RUN adduser -D -u 10001 appuser
2829
COPY --from=builder /app/server /app/server
2930
USER appuser

0 commit comments

Comments
 (0)