fix: Clone with --recurse-submodules for yuv-sys/libyuv, add make/clang

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-02-20 16:53:57 +02:00
parent 2e040a9086
commit e2b7233077

View File

@@ -4,10 +4,10 @@
FROM rust:latest AS rust-build FROM rust:latest 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 \ libva-dev libglib2.0-dev nasm make clang \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /build WORKDIR /build
RUN git clone --branch EC-compat-changes --depth 1 \ RUN git clone --branch EC-compat-changes --depth 1 --recurse-submodules \
https://github.com/onestacked/livekit-rust-sdks.git https://github.com/onestacked/livekit-rust-sdks.git
WORKDIR /build/livekit-rust-sdks/livekit-ffi WORKDIR /build/livekit-rust-sdks/livekit-ffi
RUN cargo build --release RUN cargo build --release