Skip to content

Remove debug dnf module list from konflux.Dockerfile [release-0.9]#17

Merged
fbladilo merged 1 commit into
migtools:release-0.9from
fbladilo:fix-konflux-dnf-module-list-release-0.9
Jul 7, 2026
Merged

Remove debug dnf module list from konflux.Dockerfile [release-0.9]#17
fbladilo merged 1 commit into
migtools:release-0.9from
fbladilo:fix-konflux-dnf-module-list-release-0.9

Conversation

@fbladilo

@fbladilo fbladilo commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • Remove RUN dnf module list from konflux.Dockerfile runtime stage on release-0.9

Motivation

MTA 8.1 rebases the runtime stage onto base-rhel9 (UBI minimal / microdnf). microdnf does not support the dnf module list subcommand, so Konflux PLR build-images fails:

error: Unknown subcommand: 'list'
Error: building at STEP "RUN . /cachi2/cachi2.env &&     dnf module list": exit status 1

The line was debug-only and is not needed for production builds. Same fix as #16 on main (merged for MTA 8.2).

Related:

Test plan

  • Merge and forward commit to openshift-priv release-0.9
  • Re-run layered-products for mta-jdtls-server-base on mta-8.1 with DOOZER_DATA_GITREF=mta-8.1-base-rhel9

MTA 8.1 rebases the runtime stage onto base-rhel9 (UBI minimal / microdnf).
microdnf does not support `dnf module list`, so Konflux PLR build-images fails.

Same fix as migtools#16 on main.

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 73134979-7ff0-4ec5-b75a-211a58701df9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fbladilo
fbladilo merged commit 5220d26 into migtools:release-0.9 Jul 7, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant