Skip to content

build(docker): pin base images by full version tag, not floating tag - #26387

Closed
antobinary wants to merge 1 commit into
bigbluebutton:v4.1.x-developfrom
antobinary:docker-pins-full-version-tags-41
Closed

antobinary wants to merge 1 commit into
bigbluebutton:v4.1.x-developfrom
antobinary:docker-pins-full-version-tags-41

Conversation

@antobinary

@antobinary antobinary commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Changes the base-image pins in the v4.1.x-develop Dockerfiles from floating tags to full version tags. No digest changes: every line is renamed to the full version tag of the digest it already pins.

Before After Digest
node:24-alpine node:24.22.2-alpine unchanged (the one merged by #26478)
node:24 node:24.22.2 unchanged (#26478)
node:24-slim node:24.22.2-slim unchanged (#26478)
golang:1.27-alpine golang:1.27.3-alpine unchanged (#26479)
eclipse-temurin:21-jre-noble eclipse-temurin:21.0.13_9-jre-noble unchanged (#26482)
alpine:3.24 alpine:3.24.3 unchanged (#26219)
nginxinc/nginx-unprivileged:1.31-alpine nginxinc/nginx-unprivileged:1.31.7-alpine unchanged (#26481); docker/nginx already used this tag

11 Dockerfiles, 20 FROM lines. Not changed: ubuntu:24.04 (the version is already in the tag; the dated noble-YYYYMMDD tags would be blocked by the semver-major ignore rule), hasura, yq and busybox (already full versions), and sbtscala/scala-sbt (see More).

Closes Issue(s)

None. Rebased on 2026-11-12 over the Dependabot bumps merged on 2026-11-10 (#26478, #26479, #26481, #26482), which rewrote the same FROM lines.

Motivation

With a floating tag the tag never changes, so Dependabot can only describe a bump by its digests: "Updates node from 8a32c8c to a34ab6d" (#26478). That is unreadable for a reviewer; working out what it means takes a registry lookup. In that case both digests are Node 24.22.2: the bump was a rebuild of the same release, not a new one.

Dependabot prints the short digest only when the tag is unchanged. With a full version tag it bumps tag and digest together, and the PR body reads "Updates node from 24.22.2-alpine to 24.22.3-alpine". The Dockerfile and git blame carry the version too.

A rebuild of an unchanged version still shows up as a digest-only PR. The unchanged version in the tag then tells the reviewer it is a rebuild.

The suffixes stay generic (-alpine rather than -alpine3.24) on purpose: Dependabot only compares tags with an identical suffix, and the generic suffix keeps the base OS release following upstream exactly as the floating tags did. Major versions are still filtered by the existing ignore rule in .github/dependabot.yml.

More

  • No digest changes, so the images built from this PR are the ones the base branch builds.
  • Every pin was checked against the registry on 2026-11-12 with docker buildx imagetools inspect. The node, golang, alpine and nginx tags resolve to exactly the digest written. eclipse-temurin:21.0.13_9-jre-noble was pushed again on 2026-11-12; this PR keeps the 2026-11-01 digest that is on the base branch, and Dependabot will bring the new one as a digest-only bump.
  • Newer versions are already on the registry (node 24.22.3, golang 1.27.4, alpine 3.24.4). They are left to Dependabot's next run, which after this PR reports them as version changes. Until this PR is merged, each such run conflicts with it again, because the bumps rewrite the same 20 lines.
  • sbtscala/scala-sbt is not touched. build(deps): bump sbtscala/scala-sbt in /bbb-common-message #26367 moved it from eclipse-temurin-21.0.12_8_1.13.0_2.13.18 to eclipse-temurin-21.0.12.1_1_2.x, which is a floating tag as well. Going back to a full version tag there changes the image, so it does not belong in a rename-only PR.
  • Dependabot parses FROM lines only, so the yq and busybox COPY --from pins still need a manual refresh; busybox:1.38.0-musl is behind the registry.

@antobinary antobinary added this to the Release 4.1 milestone Nov 3, 2026
@coderabbitai

coderabbitai Bot commented Nov 3, 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: 3bcbfc50-7c9e-4001-b444-3ba3d6beb2e3

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

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@antobinary
antobinary force-pushed the docker-pins-full-version-tags-41 branch from b5c2f8b to 2eb64ba Compare November 4, 2026 00:33
@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

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.
@antobinary
antobinary force-pushed the docker-pins-full-version-tags-41 branch from 2eb64ba to f2d31f2 Compare November 13, 2026 13:18
@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@antobinary

Copy link
Copy Markdown
Member Author

Closing: this change is already on v4.1.x-develop.

#26545 was branched from this PR's head, so its squash merge (12d62a8) brought this commit in together with the nginx change. Of the 20 FROM lines renamed here, 17 are on the base branch exactly as in this PR: same full version tag, same digest. The other 3 are the nginxinc/nginx-unprivileged lines of the html5, learning-dashboard and playback images, which #26545 set to 1.30.6-alpine. Those 3 lines are the conflict.

Rebased onto 41b9881 with the conflicts resolved to the base branch's side, the commit is empty. Nothing is left to merge.

Related: #26546 put the sbt builder back on a full version tag, and #26544 keeps Dependabot on the release line of nginx, golang and alpine.

@antobinary antobinary closed this Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant