Skip to content

packaging: add support for Ubuntu 26.04 - #11802

Merged
edsiper merged 1 commit into
masterfrom
packaging_add_ubuntu_26_04
May 16, 2026
Merged

packaging: add support for Ubuntu 26.04#11802
edsiper merged 1 commit into
masterfrom
packaging_add_ubuntu_26_04

Conversation

@patrick-stephens

@patrick-stephens patrick-stephens commented May 14, 2026

Copy link
Copy Markdown
Contributor

Adds support for latest Ubuntu 26.04 LTS version (resolute).


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • Run local packaging test showing all targets (including any new ones) build.
  • Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Summary by CodeRabbit

  • Chores
    • Added build support for Ubuntu 26.04 on standard and ARM64 architectures.
    • Updated build infrastructure to include Ubuntu 26.04 compilation environments.
    • Extended repository management to include the new Ubuntu distribution path.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR adds Ubuntu 26.04 support across the Fluent Bit packaging infrastructure by registering new build targets, providing Docker build stages for both x86_64 and ARM64v8 architectures, and configuring repository publishing for the resulting Debian packages.

Changes

Ubuntu 26.04 build and packaging support

Layer / File(s) Summary
Build target configuration
packaging/build-config.json
Two new Debian targets for ubuntu/26.04 and ubuntu/26.04.arm64v8 are registered in the linux_targets list.
Docker build stages for Ubuntu 26.04
packaging/distros/ubuntu/Dockerfile
Standard and ARM64v8 Docker build stages install build dependencies, download/extract the configured CMake version into /opt/cmake, and update PATH; the ARM64 stage adds qemu-aarch64-static for cross-architecture emulation.
Repository configuration for Ubuntu 26.04
packaging/update-repos.sh
The ubuntu/resolute repository path is added to the Debian repository paths array so the apt repository update script processes and publishes Ubuntu 26.04 packages.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • fluent/fluent-bit#10728: Extends packaging/update-repos.sh's DEB_REPO_PATHS array by adding a new Debian repository target, a closely related packaging change.

Suggested reviewers

  • niedbalski
  • celalettin1286

Poem

🐰 A noble leap to twenty-six,
Ubuntu's newest time to mix,
With Docker stages, config spins,
ARM and x86, the build begins,
Let packages hop into repos bright!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main objective of the pull request: adding Ubuntu 26.04 support to the packaging system. All changes (build config, Dockerfile, and update-repos script) center on this primary goal.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch packaging_add_ubuntu_26_04

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0e63274eec

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packaging/distros/ubuntu/Dockerfile Outdated
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
@patrick-stephens
patrick-stephens force-pushed the packaging_add_ubuntu_26_04 branch from 0e63274 to 336d62d Compare May 14, 2026 09:27

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packaging/distros/ubuntu/Dockerfile`:
- Around line 260-282: The Dockerfile stage labeled ubuntu-26.04-base is using
the wrong base image (FROM ubuntu:24.04); update the FROM line for the
ubuntu-26.04-base stage to use the correct ubuntu:26.04 image so the stage name,
comment, and package metadata match the intended distribution. Ensure the change
is made where the stage label ubuntu-26.04-base is declared (near the existing
ARG CMAKE_VERSION/CMAKE_HOME block) and keep the rest of the RUN/install steps
unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4d77e71e-22e1-4758-9f4d-66b4ead64cfa

📥 Commits

Reviewing files that changed from the base of the PR and between 811b5ef and 0e63274.

📒 Files selected for processing (3)
  • packaging/build-config.json
  • packaging/distros/ubuntu/Dockerfile
  • packaging/update-repos.sh

Comment thread packaging/distros/ubuntu/Dockerfile

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packaging/distros/ubuntu/Dockerfile`:
- Line 280: Remove the insecure curl -k option from the CMake download commands
so TLS certificate validation is enforced; update the two curl invocations that
reference "${cmake_download_url}" and extract into "${CMAKE_HOME}" (the lines
using curl -jksSL "${cmake_download_url}" | tar ...) to drop the -k flag (i.e.,
use -jsSL or equivalent) in both occurrences.
- Around line 269-280: The ubuntu-26.04-base and ubuntu-26.04.arm64v8-base
Docker stages run piped commands (e.g., the curl | tar pipeline that uses
CMAKE_HOME and CMAKE_VERSION) but lack a SHELL directive enabling pipefail; add
a SHELL directive for those two stages to run bash with pipefail enabled so that
failures in the curl | tar pipeline (and any other piped commands) surface and
cause the build to fail.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1b1b2a3f-83c1-4fa7-a5dd-b191bbd78b31

📥 Commits

Reviewing files that changed from the base of the PR and between 0e63274 and 336d62d.

📒 Files selected for processing (3)
  • packaging/build-config.json
  • packaging/distros/ubuntu/Dockerfile
  • packaging/update-repos.sh
🚧 Files skipped from review as they are similar to previous changes (2)
  • packaging/update-repos.sh
  • packaging/build-config.json

Comment thread packaging/distros/ubuntu/Dockerfile
Comment thread packaging/distros/ubuntu/Dockerfile
@patrick-stephens

Copy link
Copy Markdown
Contributor Author

@celalettin1286 / @niedbalski can you approve so can merge? Pretty straightforward I hope!

@edsiper
edsiper merged commit 7bc3e8d into master May 16, 2026
12 checks passed
@edsiper
edsiper deleted the packaging_add_ubuntu_26_04 branch May 16, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-package-test Run PR packaging tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants