ROX-34663: Migrate from ubi-minimal to ubi-micro#653
Merged
Conversation
Reduce container image size and attack surface by migrating to ubi-micro base images following the pattern established in collector and stackrox repositories. Changes: - Add ubi-micro-base and package_installer multi-stage build pattern - Replace ubi-minimal with ubi-micro as final base image - Install packages via dnf --installroot for proper rpmdb tracking - Add packages: ca-certificates, gzip, less, tar for operational needs - Maintain crypto-policies-scripts and openssl-libs from original - Optimize layer caching by moving update-crypto-policies to end Results: - Image size: ~150MB (18% reduction) - Maintained TLS with post-quantum cryptography support - Reduced package count and attack surface Refs: - stackrox/collector#3021 - stackrox/collector#3220 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
826daba to
f31b1fc
Compare
Molter73
reviewed
May 12, 2026
Contributor
Molter73
left a comment
There was a problem hiding this comment.
Changes look good, but the konflux jobs are failing. There's also a weird situation with the integration tests, it is failing but I can't read the logs (thanks GH).
| @@ -1,3 +1,24 @@ | |||
| FROM registry.access.redhat.com/ubi9/ubi-micro@sha256:fe9e574f04371b333ed4e21d30d984f6b7fcd1046e579f5ddab4816c0c8e231d AS ubi-micro-base | |||
Contributor
There was a problem hiding this comment.
Looks like this is not the correct SHA for the image based on the konflux work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Reduce container image size and attack surface by migrating to ubi-micro base images following the pattern established in collector and stackrox repositories.
Refs:
Checklist
Automated testing
If any of these don't apply, please comment below.
Testing Performed
CI