deploy: switch runtime to Red Hat Hardened core-runtime image#821
deploy: switch runtime to Red Hat Hardened core-runtime image#821jangel97 wants to merge 1 commit into
Conversation
|
Warning Review limit reached
More reviews will be available in 48 minutes and 53 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Containerfile is refactored into a multi-stage build: the builder stage now explicitly uses strict Bash options and improves Pulumi CLI extraction; plugin installation is configured with a dedicated PULUMI_HOME directory and prepended PATH; the new runtime stage uses a lightweight hi/core-runtime base image, copies preinstalled plugins, and switches to a non-root user. ChangesContainer Multi-Stage Build Optimization
🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
00d6227 to
a289bc4
Compare
Multi-stage build: move Pulumi plugin installation from runtime to build stage, then copy binaries + plugins into hi/core-runtime (58 MB glibc base, minimal CVE surface). Runtime only needs the compiled mapt binary, pulumi CLI, and pre-installed plugins — no Go toolchain or package manager needed.
a289bc4 to
4fb3e51
Compare
Summary
ubi9/ubi(230 MB) tohi/core-runtime(58 MB) — a distroless-like image with minimal CVE surfaceChanges
oci/Containerfile— multi-stage build with plugin install in build stage, pinnedhi/core-runtimedigest