Skip to content

fix: upgrade Docker image from Ubuntu 22.04 to 24.04 - #9006

Merged
timosachsenberg merged 3 commits into
developfrom
docker-ubuntu-24.04
Mar 26, 2026
Merged

timosachsenberg merged 3 commits into
developfrom
docker-ubuntu-24.04

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Ubuntu 22.04 ships Boost 1.74 which does not support the BOOST_PROCESS_USE_STD_FS macro, causing unresolved boost::filesystem symbols when linking TOPP tools. Ubuntu 24.04 ships Boost 1.83 where the macro works correctly.

  • Base and runtime images: ubuntu:22.04 → ubuntu:24.04
  • Boost packages: version-pinned 1.74 → unversioned (1.83)
  • Arrow APT source: jammy → noble
  • Runtime Boost libs: 1.74-dev → 1.83.0

Supersedes #9002 (branch renamed to fix Docker tag format issue with / in branch names).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Upgraded container base image to Ubuntu 24.04 for improved security and compatibility
    • Updated Boost packages to newer compatible releases
    • Switched Apache Arrow/Parquet to the 23.x series and installed corresponding runtime libraries
    • Added package pinning and temporary tools to ensure correct repository installation, then removed installer tooling
    • Updated container metadata to reflect Ubuntu 24.04

@coderabbitai

coderabbitai Bot commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b6b83829-2220-4074-b8a3-452bcd566ec4

📥 Commits

Reviewing files that changed from the base of the PR and between a494a6f and 05a094d.

📒 Files selected for processing (1)
  • dockerfiles/Dockerfile

📝 Walkthrough

Walkthrough

Updated the Dockerfile build stages from Ubuntu 22.04 to 24.04, changed the software.version label, replaced Boost package selections, switched Apache Arrow APT installer from jammy→noble, added apt pinning for Arrow/Parquet 23.*, and adjusted Arrow/Parquet runtime installs and temporary tooling usage.

Changes

Cohort / File(s) Summary
Dockerfile (base & library stages)
dockerfiles/Dockerfile
Bumped base image to ubuntu:24.04 and updated software.version label. In base replaced pinned Boost 1.74 packages with libboost-*-dev, switched Arrow APT installer .deb from jammy→noble, added apt pin forcing libarrow*/libparquet* to 23.*, adjusted Arrow/Parquet install/removal steps. In library changed Boost dev packages to explicit *-1.83.0, added ca-certificates/wget to fetch noble .deb, installed runtime libarrow2300/libparquet2300, removed the downloaded .deb, and purged wget/autoremove after install.

Sequence Diagram(s)

(omitted — changes are Dockerfile/package upgrades and do not introduce new multi-component control flow requiring a sequence diagram)

Possibly related PRs

Poem

🐰
I hopped from Jammy to Noble's gate,
Swapped Boost and Arrow — cleaned up my crate,
Fetched .deb, pinned versions true,
Removed my tracks and said adieu,
Builds bounce higher with a joyful trait.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically summarizes the main change: upgrading the Docker image base OS from Ubuntu 22.04 to 24.04, which directly addresses the primary objective of obtaining Boost 1.83 support.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docker-ubuntu-24.04

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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 the current code and only fix it if needed.

Inline comments:
In `@dockerfiles/Dockerfile`:
- Around line 56-58: The build stage currently pulls
"apache-arrow-apt-source-latest-noble.deb" and installs "libparquet-dev" which
can move to a newer ABI than the runtime (runtime is pinned to
libarrow2300/libparquet2300); update the Dockerfile so the build-stage
Arrow/Parquet dev packages are pinned to the same release/ABI as the runtime:
replace the "apache-arrow-apt-source-latest-noble.deb" download with a
release-specific/snapshot deb (or add a fixed repository URL) and install the
matching dev package/version (e.g., install the libparquet2300-dev or
libparquet-dev=<exact-version> that corresponds to libarrow2300/libparquet2300)
instead of the floating "libparquet-dev" so build-time and runtime SONAMEs
match.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d9b2adcc-e19b-44a7-950e-5af7f50adc97

📥 Commits

Reviewing files that changed from the base of the PR and between aa7ecda and ca5c20b.

📒 Files selected for processing (1)
  • dockerfiles/Dockerfile

Comment thread dockerfiles/Dockerfile Resolved
@timosachsenberg
timosachsenberg enabled auto-merge (squash) March 26, 2026 15:11

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
dockerfiles/Dockerfile (1)

184-190: Consider suppressing wget verbose output.

Static analysis flagged using wget without progress bar suppression. For cleaner build logs, consider using -q (quiet) or --progress=dot:giga.

🔧 Suggested fix
-  && wget https://repo1.maven.org/maven2/org/apache/arrow/ubuntu/apache-arrow-apt-source-latest-noble.deb \
+  && wget -q https://repo1.maven.org/maven2/org/apache/arrow/ubuntu/apache-arrow-apt-source-latest-noble.deb \

Note: The same suggestion applies to the wget command on line 56 in the base stage for consistency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@dockerfiles/Dockerfile` around lines 184 - 190, Update the two wget
invocations (e.g., the one downloading apache-arrow-apt-source-latest-noble.deb
and the wget in the base stage) to suppress verbose output by adding a
quiet/progress flag such as -q or --progress=dot:giga so Docker build logs are
cleaner; locate the wget command string "wget
https://repo1.maven.org/maven2/org/apache/arrow/ubuntu/apache-arrow-apt-source-latest-noble.deb"
and the other wget in the base stage and modify their arguments accordingly
while keeping the rest of the command chain unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@dockerfiles/Dockerfile`:
- Around line 184-190: Update the two wget invocations (e.g., the one
downloading apache-arrow-apt-source-latest-noble.deb and the wget in the base
stage) to suppress verbose output by adding a quiet/progress flag such as -q or
--progress=dot:giga so Docker build logs are cleaner; locate the wget command
string "wget
https://repo1.maven.org/maven2/org/apache/arrow/ubuntu/apache-arrow-apt-source-latest-noble.deb"
and the other wget in the base stage and modify their arguments accordingly
while keeping the rest of the command chain unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0ce8b131-4e0e-4554-851d-e733270f344f

📥 Commits

Reviewing files that changed from the base of the PR and between ca5c20b and a494a6f.

📒 Files selected for processing (1)
  • dockerfiles/Dockerfile

timosachsenberg and others added 3 commits March 26, 2026 17:50
Ubuntu 22.04 ships Boost 1.74 which does not support the
BOOST_PROCESS_USE_STD_FS macro, causing unresolved boost::filesystem
symbols when linking TOPP tools. Ubuntu 24.04 ships Boost 1.83 where
the macro works correctly and boost::process uses std::filesystem.

- Base and runtime images: ubuntu:22.04 → ubuntu:24.04
- Boost packages: version-pinned 1.74 → unversioned (1.83)
- Arrow APT source: jammy → noble
- Runtime Boost libs: -dev → versioned runtime (1.83.0)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
The Ubuntu 24.04 upgrade (0060baa) added Arrow/Parquet runtime
library download to the library stage but omitted ca-certificates,
causing wget to fail TLS verification on repo1.maven.org.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
The build stage installs floating `libparquet-dev` while the runtime
pins to `libarrow2300`/`libparquet2300`. If Arrow 24 is released, the
build would link against the new SONAME while runtime only has Arrow 23
libs. Add APT preferences pin to constrain Arrow packages to v23.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@timosachsenberg
timosachsenberg enabled auto-merge (squash) March 26, 2026 16:50
@timosachsenberg
timosachsenberg merged commit 16af919 into develop Mar 26, 2026
13 of 14 checks passed
@timosachsenberg
timosachsenberg deleted the docker-ubuntu-24.04 branch March 26, 2026 16:50
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