Skip to content

build(docker): return the nginx images to the stable line (1.30.6) - #26545

Merged
antobinary merged 2 commits into
bigbluebutton:v4.1.x-developfrom
antobinary:docker-nginx-unprivileged-stable-41
Nov 13, 2026
Merged

antobinary merged 2 commits into
bigbluebutton:v4.1.x-developfrom
antobinary:docker-nginx-unprivileged-stable-41

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Puts the four nginxinc/nginx-unprivileged pins on v4.1.x-develop back on 1.30.6-alpine:

Dockerfile Before After
docker/nginx 1.31.7-alpine 1.30.6-alpine
bigbluebutton-html5 1.31.7-alpine 1.30.6-alpine
bbb-learning-dashboard 1.31.7-alpine 1.30.6-alpine
docker/bbb-playback 1.31.7-alpine 1.30.6-alpine

The digest is the one that was pinned before #26481, and it is still what the 1.30.6-alpine tag resolves to.

Stacked on #26387, which renames 1.31-alpine to 1.31.7-alpine on three of these lines. Until that one is merged, this PR shows its commit as well.

Closes Issue(s)

None.

Motivation

#26481, a Dependabot bump, moved these pins from 1.30.6 to 1.31.7. For nginx that is not a patch-level update: 1.30 is the stable line (the stable-alpine tag resolves to the same digest as 1.30.6-alpine) and 1.31 is the mainline (mainline-alpine). It arrived as the semver-minor part of a grouped bump, not as a decision to follow mainline.

If following mainline is what we want for the images, this PR can simply be closed; the point is that it should be a choice.

More

  • Built the nginx image from this branch (bake target nginx, linux/amd64): nginx -v reports 1.30.6, nginx -t passes on the packaged site and location files, and the container answers on port 8080.
  • The same nginx -t passes on the 1.31.7 build, so the configuration does not depend on either line.
  • The html5-client, learning-dashboard and playback images only use nginx to serve static files; their nginx files have not changed since build(deps): bump nginxinc/nginx-unprivileged in /bbb-learning-dashboard #26481.
  • Dependabot proposes the same move again on its next run unless .github/dependabot.yml on the default branch ignores semver-minor for this image.

The image Dockerfiles on v4.1.x-develop pin their upstream images as
tag@sha256:digest, but most of the tags are floating ones (node:24-alpine,
golang:1.27-alpine, eclipse-temurin:21-jre-noble, alpine:3.24,
nginx-unprivileged:1.31-alpine). A floating tag never changes, so Dependabot
can only report the digest: "Updates node from 8a32c8c to a34ab6d" (bigbluebutton#26478).
Nobody can tell from that whether the bump is a Node release or a rebuild of
the same release. That one was a rebuild: both digests are Node 24.22.2.

Pin the full version tag instead. Dependabot then bumps tag and digest
together and the body reads "from 24.22.2-alpine to 24.22.3-alpine"; the
Dockerfile and git blame show the version as well. A rebuild of an unchanged
release still arrives as a digest-only bump, and the unchanged version in the
tag says so. The suffixes stay generic (-alpine, not -alpine3.24) so the base
OS release keeps following upstream exactly as before, and Dependabot's
exact-suffix comparison keeps proposing updates.

No digest changes. Every line is renamed to the full version tag of the
digest it already pins:
- node 24-alpine, 24, 24-slim -> 24.22.2-alpine, 24.22.2, 24.22.2-slim
  (the digests merged by bigbluebutton#26478)
- golang 1.27-alpine -> 1.27.3-alpine (bigbluebutton#26479)
- eclipse-temurin 21-jre-noble -> 21.0.13_9-jre-noble (bigbluebutton#26482). The pinned
  digest is the 2026-11-01 push of that tag; the tag was pushed again on
  2026-11-12 and Dependabot will bring that digest as a digest-only bump.
- alpine 3.24 -> 3.24.3 (bigbluebutton#26219)
- nginx-unprivileged 1.31-alpine -> 1.31.7-alpine (bigbluebutton#26481), the tag
  docker/nginx already uses

ubuntu:24.04 is left alone: the version is already in the tag, and the dated
noble-YYYYMMDD tags would be blocked by the semver-major ignore rule. The yq
and busybox COPY --from pins already carry full versions; Dependabot does not
parse COPY --from, so those still rely on a manual refresh. sbtscala/scala-sbt
is not touched either: bigbluebutton#26367 moved it to the eclipse-temurin-21.0.12.1_1_2.x
tag, and going back to a full version tag there changes the image instead of
renaming a tag.
bigbluebutton#26481, a Dependabot bump, moved the four nginxinc/nginx-unprivileged pins
from 1.30.6 to 1.31.7. For nginx that is not a patch-level update: 1.30 is
the stable line (the stable-alpine tag resolves to this digest) and 1.31 is
the mainline (mainline-alpine). It arrived as the semver-minor part of a
grouped bump, not as a decision to follow mainline.

Go back to 1.30.6-alpine with the digest that was pinned before bigbluebutton#26481,
which is still what the tag resolves to. This covers the nginx image and
the nginx stage of the html5-client, learning-dashboard and playback
images.

Checked on the nginx image built from this commit: nginx -v reports 1.30.6,
nginx -t passes on the packaged site and location files, and the container
answers on port 8080. The same nginx -t passes on the 1.31.7 build, so the
configuration does not depend on either line.

Dependabot proposes the same move again on its next run unless
.github/dependabot.yml on the default branch ignores semver-minor for this
image.
@antobinary antobinary added this to the Release 4.1 milestone Nov 13, 2026
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 33ce0d97-ad24-4a0f-b24c-971651d25f93

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
  • 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

@github-actions

Copy link
Copy Markdown

🚨 Automated tests failed

@antobinary
antobinary merged commit 12d62a8 into bigbluebutton:v4.1.x-develop Nov 13, 2026
50 of 52 checks passed
@antobinary
antobinary deleted the docker-nginx-unprivileged-stable-41 branch November 13, 2026 17:31
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.

1 participant