Skip to content

ROX-33561: Migrate roxctl Dockerfile to ubi8-micro#19500

Open
janisz wants to merge 1 commit intomasterfrom
ROX-33561-roxctl-ubi-micro
Open

ROX-33561: Migrate roxctl Dockerfile to ubi8-micro#19500
janisz wants to merge 1 commit intomasterfrom
ROX-33561-roxctl-ubi-micro

Conversation

@janisz
Copy link
Contributor

@janisz janisz commented Mar 19, 2026

Description

Following the pattern from konflux.Dockerfile and collector PR #3021:

  • Add ubi-micro-base stage and copy to /out/ before package installation to preserve rpmdb
  • Install ca-certificates and openssl using dnf --installroot pattern
  • Move roxctl binary to /usr/bin/roxctl for consistency

This aligns the main Dockerfile with the konflux.Dockerfile pattern, providing a minimal but functional base image.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

change me!

Following the pattern from konflux.Dockerfile and collector PR #3021:
- Add ubi-micro-base stage and copy to /out/ before package installation to preserve rpmdb
- Install ca-certificates and openssl using dnf --installroot pattern
- Move roxctl binary to /usr/bin/roxctl for consistency

This aligns the main Dockerfile with the konflux.Dockerfile pattern,
providing a minimal but functional base image.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@rhacs-bot
Copy link
Contributor

Images are ready for the commit at d02d443.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-382-gd02d44306c.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.26%. Comparing base (35e965a) to head (d02d443).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19500      +/-   ##
==========================================
- Coverage   49.27%   49.26%   -0.01%     
==========================================
  Files        2726     2726              
  Lines      205625   205625              
==========================================
- Hits       101318   101311       -7     
- Misses      96773    96778       +5     
- Partials     7534     7536       +2     
Flag Coverage Δ
go-unit-tests 49.26% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants