Closed israel-a-vizcarra closed 5 months ago
@israel-a-vizcarra I removed the yum install python*
as Python is already included in the olm-utils-v2
image. Can you try again using the airgap-misc
branch?
Worked fine with airpap-misc
branch. Thanks @fketelaars
Successfully tagged localhost/cloud-pak-deployer:latest
f7c77a8fd892455e8ee862cc36d10c16d262e885249704fd18974de4f0def459
israel@Israels-MacBook-Pro cloud-pak-deployer % git branch
* (HEAD detached at origin/airgap-misc)
* ```
Describe the bug When using CPD_OLM_UTILS_V2_IMAGE=cp.stg.icr.io/cp/cpd/olm-utils-v2:4.8.2 cp-deploy build breaks
The reason for the failure is because from this version the image is using rhel9 with python3.11 by default
Dockerfile contains references to installation of python3.8 which is not available in this version of rhel
To Reproduce Steps to reproduce the behavior:
Expected behavior cp-deploy.sh build should finish successfully
Actual behavior Failure while building image
Error:
Desktop (please complete the following information):
Additional context
I was able to fix the issue for that specific image using following Dockerfile. I am unclear on how to map that to make it retro compatible