Repository navigation
build(docker): container images for BigBlueButton - #26141
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 4
Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@tibroc Could we please rebase it to target |
|
Thanks Timo, this is the shape I was hoping for. A few things on top of Anton's rebase request. Title and README still say 4.0. After the move to Branch names are hard-coded in the workflow ( branches:
- "v[4-9].*.x-develop"
- "v[4-9].*.x-release"
Please also tag the commit. Today the only tag is the branch name, which every push overwrites. I'd push Four small fixes landed in
Everything else I have is about running the images together (the directory tree on an empty volume, the ImageMagick PDF policy, a db-init image) and I'd rather send those as follow-up PRs than grow this one. |
|
@antobinary i changed the target to v4.1.x-develop (it was on release, which was a lot older). @TiagoJacobs Thanks for the review, i will change the PR accordingly! |
This is the first commit to introduce docker images for the BBB main repo. It adds the basic infrastructure and the html5-client and the learning dashboard.
Remove the compose file, the Caddy configuration, the example .env, the postgres init script and the etherpad image. Etherpad and bbb-pads are gone in 4.0, and running a stack is left to the deployments: this branch only builds images.
From the 4.0 setup commit 2621b46 of samuelwei#2: Node 24 for export-annotations, graphql-actions, learning-dashboard and html5, and no etherpad, bbb-pads or sip nginx fragments in 4.0.
fonts-noto pulls it in as a recommend on bare metal; without it CJK text in uploaded presentations renders as empty boxes.
…s auth hook Without /etc/protocols the engine fails every outbound HTTP connection, so the join's auth hook to akka-apps never arrives. ca-certificates is a declared dependency of the package as well.
… and bbb-web Both ship the html5 client's settings.yml, which still carried the HTML5_CLIENT_VERSION placeholder; the html5 image already stamps it.
mkclean has no 64-bit ARM build target (its coremake knows only 32-bit ARM), and the bbb-mkclean package is amd64 only as well. The merge job joins only the platforms a target builds.
|
Thanks @TiagoJacobs, very helpful. I'm taking all of it into this PR:
The follow-ups you mention (directory tree on an empty volume, the ImageMagick PDF policy, a db-init image) as separate PRs sound right to me. On db-init: I have a small compose file for one server (TLS and TURN on 443 via haproxy, certbot, recording as a profile) in preparation as the next PR. It currently bootstraps the databases with a one-shot service on the postgres image. If you plan a db-init image, I'd rather use that than build a second variant, so let's align on it before I open the compose PR. |
✅ Automated tests have passed! |
TiagoJacobs
left a comment
There was a problem hiding this comment.
Thanks Timo, this looks good to me. Went through it again on top of the rebase: the globs, the - tag with the per-commit platform images, the middleware contract and the #26143 bits are all in, and I checked each Dockerfile against its package template once more. Merging.
As we discussed, the Kubernetes adjustments go in as a follow-up today, and your small fixes and the compose come on top of both tomorrow. The follow-up also drops the compose entries from .gitignore (.env, data/*, ssl), since nothing uses them yet; they come back with the compose.
On db-init: let's settle that on the follow-up PR, it will show how we bootstrap the databases on Kubernetes today and we can see there whether an image or a one-shot on postgres fits both.
What this is
Container images for the BigBlueButton 4.0 components, built from this repository, plus one CI
workflow that builds them on every pull request and publishes them from the release branches.
It continues the work started at the 2025 Vienna Dev Summit (#22894) and Samuel Weirich's 4.0
updates, kept deliberately small: about 1,000 lines.
build/packages-template/<package>/: same build steps, the runtime dependencies the packagedeclares, the same paths and the
bigbluebuttonuser (998). Static apps (html5 client,learning dashboard, playback) are images with their own nginx.
built here too, from the tags their
*.placeholder.shpin, like the packages. CI checks thatthe tags match.
bare-metal paths; a few values can be set by environment where the component supports it.
docker/README.mdlists the images, the paths and every variable.Not included: compose, TLS, setup — anything about running the images together. A short compose
file follows as a separate pull request.
Try it
docker buildx bake --load --set '*.platform=linux/amd64'How it was tested
Every image was built and started. All images together, with the official redis, postgres and
LiveKit images, ran a meeting with audio and video in headless Chromium and a recording through
to playback (test setup kept outside this PR). CI on a fork: pull-request build (amd64) and release-branch build (amd64 + arm64) both green — https://github.com/tibroc/bigbluebutton/actions/runs/39492714564, https://github.com/tibroc/bigbluebutton/actions/runs/39492727552
Questions for maintainers
livekit/livekit-serverimage, without the patch thebbb-livekitpackage build applies. Is the official image acceptable, or should thisrepository build LiveKit as well?
ghcr.io/bigbluebutton/bigbluebutton/bbb-<name>, tagged with the branch or tag.Credits
Builds on the Vienna Dev Summit work (#22894, squashed in
437c1a239b) and Samuel Weirich's 4.0updates (his commits are kept), with arm64 and parallel platform builds by Samuel Weirich and
Daniel Molkentin.