libwebrtc-builder-images
May 31, 2025 ยท View on GitHub
libwebrtc-builder-images
Docker image with all dependencies to build Google's libwebrtc from source. Suitable for CI pipelines or local development.
Getting Started
Building libwebrtc for Android
-
Use the following commands to run a Docker image for libwebrtc for Android.
docker container run --rm -it ghcr.io/casl0/libwebrtc-builder/ubuntu -
Build libwebrtc for Android inside the container.
fetch --nohooks webrtc_android gclient sync cd src ./build/install-build-deps.sh tools_webrtc/android/build_aar.py
Building libwebrtc for Linux
-
Use the following commands to run a Docker image for libwebrtc for Linux.
docker container run --rm -it ghcr.io/casl0/libwebrtc-builder/ubuntu -
Build libwebrtc for Linux inside the container.
fetch --nohooks webrtc gclient sync cd src ./build/install-build-deps.sh gn gen out/Default autoninja -C out/Default
Building libwebrtc for Windows
-
Use the following commands to run a Docker image for libwebrtc for Windows.
docker container run --rm -it ghcr.io/casl0/libwebrtc-builder/windows -
Build libwebrtc for Windows inside the container.
# WORKAROUND: Because the owner of C:\depot_tools is NT AUTHORITY\SYSTEM icacls "C:\depot_tools" /setowner ContainerAdministrator /T fetch --nohooks webrtc gclient sync cd src gn gen out/Default autoninja -C out/Default
Available Images
| Image | Purpose |
|---|---|
ghcr.io/casl0/libwebrtc-builder/ubuntu | Building libwebrtc for Android or Linux |
ghcr.io/casl0/libwebrtc-builder/windows | Building libwebrtc for Windows |