Skip to content

add Docker support for local Linux builds#951

Merged
pham-tuan-binh merged 3 commits intomainfrom
add-docker-support
Mar 19, 2026
Merged

add Docker support for local Linux builds#951
pham-tuan-binh merged 3 commits intomainfrom
add-docker-support

Conversation

@pham-tuan-binh
Copy link
Copy Markdown
Contributor

@pham-tuan-binh pham-tuan-binh commented Mar 18, 2026

Summary

  • Add a Docker-based build environment for building the SDK and FFI library on Linux locally
  • The Dockerfile creates an environment-only image (system deps + Rust toolchain, no source code)
  • The Makefile volume-mounts the host workspace at runtime, matching the CI approach in ffi-builds.yml
  • Supports both x86_64 (CUDA-enabled) and aarch64 targets

Test plan

  • cd docker && make ffi-aarch64 produces target/aarch64-unknown-linux-gnu/release/liblivekit_ffi.so
  • make sdk-aarch64 produces artifacts in target/aarch64-unknown-linux-gnu/release/
  • Incremental rebuilds are fast (cargo cache persists on host via volume mount)
  • make ffi-x86_64 / make sdk-x86_64 tested on x86_64 host

Add a Docker-based build environment using manylinux_2_28 images for
building the SDK and FFI library locally. The Dockerfile creates an
environment image with system deps and Rust toolchain, and the Makefile
volume-mounts the host workspace at runtime — matching the CI approach
in ffi-builds.yml.
@pham-tuan-binh pham-tuan-binh added the internal to tag changes that don't require changelog documentation label Mar 18, 2026
@ladvoc ladvoc requested a review from cloudwebrtc March 18, 2026 14:03
Copy link
Copy Markdown
Contributor

@cloudwebrtc cloudwebrtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@pham-tuan-binh pham-tuan-binh merged commit 387c5d4 into main Mar 19, 2026
18 of 22 checks passed
@pham-tuan-binh pham-tuan-binh deleted the add-docker-support branch March 19, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal to tag changes that don't require changelog documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants