You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional steps are needed that I'm still working out. Prior to this, we were having to yum module enable -y maven:3.6 ourselves, but of course, yum isn't available in this image.
Just trying to run infinispan-client-setup.sh without that step revealed that it needs yum itself. Adding microdnf install -y yum got past that step, but then after the script runs, it apparently tries to uninstall maven, which results in errors that it can't be uninstalled:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.166 s
[INFO] Finished at: 2025-02-28T15:36:32Z
[INFO] ------------------------------------------------------------------------
+ yum remove -y maven
Error:
Problem: The operation would result in removing the following protected packages: systemd-udev
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Error: building at STEP "RUN microdnf install -y yum && infinispan-client-setup.sh": while running runtime: exit status 1
Obviously, since I'm not running the yum commands myself, but they're in the Liberty/Infinispan image, this needs to be addressed there.
I've tested this locally with an update to the infinispan-client-setup.sh to use microdnf instead of yum, and can't see any issues. Current plan is to get this fix included in the liberty base images as soon as possible.
@leochr The connected PR looks good and will get past build step but will still error during deployment with Infinispan operator without these changes OpenLiberty/ci.docker#330. Another PR would be needed for WL docker images as well. Can someone take a look after the Java21 fix gets in?
https://github.com/WASdev/ci.docker#session-caching
Additional steps are needed that I'm still working out. Prior to this, we were having to
yum module enable -y maven:3.6
ourselves, but of course,yum
isn't available in this image.Just trying to run
infinispan-client-setup.sh
without that step revealed that it needsyum
itself. Addingmicrodnf install -y yum
got past that step, but then after the script runs, it apparently tries to uninstall maven, which results in errors that it can't be uninstalled:Obviously, since I'm not running the
yum
commands myself, but they're in the Liberty/Infinispan image, this needs to be addressed there.Beginning of my Dockerfile, up to the failure:
The text was updated successfully, but these errors were encountered: