Skip to content

Avoid curl conflict with RHEL ubi in dockerfile helper - #458

Merged
Stromweld merged 3 commits into
test-kitchen:mainfrom
jblaine:fix-rhel
Jul 28, 2026
Merged

Avoid curl conflict with RHEL ubi in dockerfile helper#458
Stromweld merged 3 commits into
test-kitchen:mainfrom
jblaine:fix-rhel

Conversation

@jblaine

@jblaine jblaine commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Description

Seems RHEL9 ubi (and likely others) ships with a curl-minimal package already. Trying to install curl throws a conflict with that. This change checks for curl's existence and only installs it if needed.

Issues Resolved

#457

Type of Change

fix

Check List

Seems RHEL9 ubi (and likely others) ships with a curl-minimal package already. Trying to install `curl` throws a conflict with that. This change checks for curl's existence and only installs it if needed.

Signed-off-by: Jeff Blaine <jblaine@kickflop.net>
Comment thread lib/kitchen/docker/helpers/dockerfile_helper.rb Outdated
Signed-off-by: Jeff Blaine <jblaine@kickflop.net>
@jblaine
jblaine requested a review from Stromweld July 28, 2026 20:07

@Stromweld Stromweld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like there is a spec test that needs to be fixed.

Signed-off-by: Jeff Blaine <jblaine@kickflop.net>
@jblaine jblaine changed the title Avoid curl conflict with RHEL 9 ubi in dockerfile helper Avoid curl conflict with RHEL ubi in dockerfile helper Jul 28, 2026
@jblaine
jblaine requested a review from Stromweld July 28, 2026 21:09
@Stromweld
Stromweld merged commit 028ce4c into test-kitchen:main Jul 28, 2026
105 checks passed
@jblaine
jblaine deleted the fix-rhel branch July 29, 2026 15:10
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.

2 participants