Skip to content

build(docker): container images for BigBlueButton - #26141

Merged
TiagoJacobs merged 48 commits into
bigbluebutton:v4.1.x-developfrom
tibroc:pipelines-4.0
Oct 21, 2026
Merged

TiagoJacobs merged 48 commits into
bigbluebutton:v4.1.x-developfrom
tibroc:pipelines-4.0

Conversation

@tibroc

@tibroc tibroc commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

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.

  • One image per package. Each Dockerfile follows its package build in
    build/packages-template/<package>/: same build steps, the runtime dependencies the package
    declares, the same paths and the bigbluebutton user (998). Static apps (html5 client,
    learning dashboard, playback) are images with their own nginx.
  • The external components (bbb-webrtc-sfu, bbb-webrtc-recorder, bbb-webhooks, bbb-playback) are
    built here too, from the tags their *.placeholder.sh pin, like the packages. CI checks that
    the tags match.
  • Images ship the packages' default configuration. A deployment mounts its own files at the
    bare-metal paths; a few values can be set by environment where the component supports it.
    docker/README.md lists the images, the paths and every variable.
  • Multi-stage builds, base images pinned by digest, no build tools at runtime, non-root.

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: the test used the official livekit/livekit-server image, without the patch the
    bbb-livekit package build applies. Is the official image acceptable, or should this
    repository build LiveKit as well?
  • FreeSWITCH and bbb-fsesl-akka are not built. Are they out of scope for 4.0 with LiveKit?
  • Image names: 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.0
updates (his commits are kept), with arm64 and parallel platform builds by Samuel Weirich and
Daniel Molkentin.

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 4
  • v3.0.x-release
  • v3.0.x-develop
  • v4.0.x-release
  • v4.0.x-develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d4954cd2-f137-4cad-ab2a-616851c5e62f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@antobinary

antobinary commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

@tibroc Could we please rebase it to target v4.1.x-develop?
Big Thank You for the PR!!

@antobinary
antobinary changed the base branch from v4.0.x-develop to v4.1.x-release October 20, 2026 21:06
@antobinary antobinary added this to the Release 4.1 milestone Oct 20, 2026
@TiagoJacobs

TiagoJacobs commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

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 v4.1.x-develop the title and the line in docker/README.md about which branches publish need to follow. I'd drop the version from the title altogether.

Branch names are hard-coded in the workflow (branches: [v4.0.x-develop, v4.0.x-release], for both pull_request and push). As it is, after the merge into 4.1 the workflow never fires: no image gets published and PRs against 4.1 don't get image builds. automated-tests.yml already solves this with globs, so I'd use the same pattern, from 4.x on since that is where the images start:

branches:
  - "v[4-9].*.x-develop"
  - "v[4-9].*.x-release"

TAG already comes from github.ref_name, so the published tags follow the branch and the file forward-merges without edits.

Please also tag the commit. Today the only tag is the branch name, which every push overwrites. I'd push <branch>-<sha7> next to it. Three reasons: a deployment can pin a set of images that were built together (apps-akka and web embed the html5 client's settings.yml, so mixing commits is a real failure mode), rollback is a tag instead of a digest hunt, and with fail-fast: false a half-failed matrix leaves images of two commits under the same branch tag. It's one more entry in the tags and in the merge job.

Four small fixes landed in v4.0.x-develop today (#26109, #26110, #26111, #26112; #26143 ports them to 4.1) that touch this PR:

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.

@tibroc
tibroc changed the base branch from v4.1.x-release to v4.0.x-develop October 21, 2026 08:17
@tibroc
tibroc changed the base branch from v4.0.x-develop to v4.1.x-develop October 21, 2026 08:17
@tibroc

tibroc commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator Author

@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!

tibroc and others added 22 commits October 21, 2026 10:24
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.
tibroc added 11 commits October 21, 2026 10:24
…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.
@tibroc tibroc changed the title build(docker): container images for BigBlueButton 4.0 build(docker): container images for BigBlueButton Oct 21, 2026
@tibroc

tibroc commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator Author

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.

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@TiagoJacobs TiagoJacobs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants