Repository navigation
fix: upgrade Docker image from Ubuntu 22.04 to 24.04 - #9006
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the Dockerfile build stages from Ubuntu 22.04 to 24.04, changed the Changes
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
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (1)
dockerfiles/Dockerfile
There was a problem hiding this comment.
🧹 Nitpick comments (1)
dockerfiles/Dockerfile (1)
184-190: Consider suppressing wget verbose output.Static analysis flagged using
wgetwithout 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
wgetcommand 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
📒 Files selected for processing (1)
dockerfiles/Dockerfile
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]>
a494a6f to
05a094d
Compare
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.
Supersedes #9002 (branch renamed to fix Docker tag format issue with
/in branch names).🤖 Generated with Claude Code
Summary by CodeRabbit