fix: use rust:bookworm build stage for CXXABI compat with python:3.11-slim-bookworm
rust:latest links against GLIBC_2.38 libstdc++ which is incompatible with bookworm. rust:bookworm (1.93.1) produces FFI binary compatible with bookworm libstdc++. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Stage 1: Build patched Rust FFI with HKDF support for Element Call E2EE
|
# Stage 1: Build patched Rust FFI with HKDF support for Element Call E2EE
|
||||||
# Fork: onestacked/livekit-rust-sdks branch EC-compat-changes
|
# Fork: onestacked/livekit-rust-sdks branch EC-compat-changes
|
||||||
# PR: https://github.com/livekit/rust-sdks/pull/904
|
# PR: https://github.com/livekit/rust-sdks/pull/904
|
||||||
FROM rust:latest AS rust-build
|
FROM rust:bookworm AS rust-build
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
git cmake g++ libssl-dev pkg-config protobuf-compiler \
|
git cmake g++ libssl-dev pkg-config protobuf-compiler \
|
||||||
libva-dev libglib2.0-dev nasm make clang \
|
libva-dev libglib2.0-dev nasm make clang \
|
||||||
|
|||||||
Reference in New Issue
Block a user