-
Notifications
You must be signed in to change notification settings - Fork 69
chore : Add interactive build and push commands to devfile #249
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
base: main
Are you sure you want to change the base?
Conversation
b1cc29d to
05f363c
Compare
Signed-off-by: Rohan Kumar <rohaan@redhat.com>
05f363c to
4fbd385
Compare
…se UBI 10 Dockerfile UBI images can contain preinstalled packages that are not reinstallable from enabled repositories, which causes `dnf reinstall shadow-utils` to fail in Eclipse Che / OpenShift environments. Additionally, removing the final `dnf update` avoids pulling inconsistent package sets during container builds and improves reproducibility across local and cloud-based development environments. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
|
With changes in ed0b8bf, I'm able to build base developer image for ubi10. Earlier, the build was failing around dnf update and dnf reinstall shadow-utils, which can be problematic in cloud-based, unregistered UBI environments where some preinstalled packages are not available for reinstall. I've tested it locally, and it seems to be working there too. |
|
Thank you @rohanKanojia for the PR,
I don't fully understand, could you please explain a bit more why that is the case? Is it only a problem when building the udi-10 base image? |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ibuziuk, rohanKanojia The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@dkwon17 : You're right, I face this only when building base-developer-image with ubi10 (see #249 (comment)) . I was able to build successfully with other combinations but not this one. |

Description
Add interactive build and push commands to
.devfile.yamlfor easier container image developmentworkflow.
(default)