Sign inSign up

livekit/rust-sdks

By livekit

Updated 6 months ago

Docker Images For Working With The LiveKit Rust SDKs On Linux

Image
0

305

livekit/rust-sdks repository overview

LiveKit Rust SDKs

Official Rust SDKs for LiveKit — real-time audio, video, and data.

This repository contains pre-built Docker images for compiling the SDK and FFI bindings on Linux.

Images

TagArchitectureBaseNotes
dev-env-x86_64x86_64manylinux_2_28 + CUDA 12.3NVIDIA hardware-accelerated video codecs
dev-env-aarch64aarch64manylinux_2_28

Built on manylinux_2_28 for broad Linux compatibility (glibc 2.28+: RHEL 8, Ubuntu 20.04, Debian 11+).

What's included

  • LLVM, Clang, LLD
  • Protobuf compiler
  • OpenSSL, X11, Mesa GL, VA-API, DRM/GBM dev headers
  • Development Tools (gcc, make, etc.)
  • Rust stable toolchain with target pre-installed

No source code — mount your workspace at runtime.

Pull

docker pull livekit/rust-sdks:dev-env-x86_64
docker pull livekit/rust-sdks:dev-env-aarch64

Usage

git clone --recursive https://github.com/livekit/rust-sdks.git
cd rust-sdks

# x86_64
docker run --rm -v $PWD:/workspace -w /workspace livekit/rust-sdks:dev-env-x86_64 \ bash -c "cd livekit-ffi && cargo build --release --target x86_64-unknown-linux-gnu"

# aarch64
docker run --rm -v $PWD:/workspace -w /workspace livekit/rust-sdks:dev-env-aarch64 \ bash -c "cd livekit-ffi && cargo build --release --target aarch64-unknown-linux-gnu"

Output: target/<triple>/release/liblivekit_ffi.so

The target directory lives on the host, so incremental builds are fast.

File ownership

Container runs as root. Reclaim ownership with:

sudo chown -R $(id -u):$(id -g) target/

Tag summary

Content type

Image

Digest

sha256:033ed82a4

Size

8.1 GB

Last updated

6 months ago

docker pull livekit/rust-sdks:dev-env-x86_64