-
-
Notifications
You must be signed in to change notification settings - Fork 368
fix docker build CI #1701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix docker build CI #1701
Conversation
WalkthroughUpdated the Dockerfile build stage by adding five build-essential packages—autoconf, build-essential, cmake, file, and m4—to the apt-get install command. Applied minor formatting standardization by capitalizing the FROM directive alias from "as" to "AS". Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
Dockerfile (1)
9-9: Minor redundancy: g++ is included both explicitly and via build-essential.The
build-essentialmetapackage (line 9) already includes g++, making the explicit g++ entry on line 13 redundant. While apt-get handles this gracefully without issues, consolidating the package list would improve clarity.Consider removing the explicit
g++entry:automake \ bsdmainutils \ build-essential \ cmake \ curl \ file \ - g++ \ libtool \ m4 \Alternatively, if g++ is intentionally pinned separately for version control, add a clarifying comment.
Also applies to: 13-13
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
Dockerfile(1 hunks)
🔇 Additional comments (2)
Dockerfile (2)
2-2: Good practice: Uppercase Dockerfile directives.Capitalizing the FROM directive to "AS" aligns with Dockerfile conventions and improves consistency.
6-18: Added packages appropriately address build dependencies.The added packages (autoconf, build-essential, cmake, file, m4) are necessary to support the build pipeline:
autoconfandm4are required by the./autogen.shscript (line 28)build-essentialensures all core build tools are availablecmakelikely supports dependency buildsfileis a utility sometimes required during build chainsThis fix directly addresses the CI failure by ensuring all required build dependencies are present.
PR intention
Fix docker CI issue. https://github.com/aleflm/firo/actions/runs/18649626869