Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfiles to use ubi9 image in place of ubi8 #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kevchu3
Copy link
Contributor

@kevchu3 kevchu3 commented Apr 29, 2024

This pull request makes the following changes:

  • Update Dockerfiles to use Red Hat ubi9 image instead of ubi8. The latest ubi8 image has some package issues affecting the Dockerfiles using it, see errors below:
$ podman build -f Dockerfile .

...
STEP 14/19: RUN microdnf remove -y gzip shadow-utils

(microdnf:1): librhsm-WARNING **: 19:15:45.242: Found 0 entitlement certificates

(microdnf:1): librhsm-WARNING **: 19:15:45.242: Found 0 entitlement certificates
error: Could not depsolve transaction; 1 problem detected:
 Problem: package cracklib-2.9.6-15.el8.x86_64 from @System requires gzip, but none of the providers can be installed
  - conflicting requests
  - problem with installed package cracklib-2.9.6-15.el8.x86_64
Error: building at STEP "RUN microdnf remove -y gzip shadow-utils": while running runtime: exit status 1

This is not an issue in the ubi9 image which builds successfully. I understand that there are a lot more changes and dependencies that go into ubi9, and hopefully this PR gets the ball rolling with that conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant