Disable ubi repos during container builds
When ubi is used to build the base image, there is a ubi.repo file added. The rpms from these repos can clash which rpms from repos put down from CI. This patch disables the ubi repos if they exist to minimize clashes. Change-Id: I6b05702b4ed17b99eb8246d6740dd74c0ebef758 Related-Bug: BZ2022749 (cherry picked from commit I6b05702b4ed17b99eb8246d6740dd74c0ebef758)
This commit is contained in:
parent
867f6aee54
commit
79a47254bd
|
@ -1,4 +1,5 @@
|
|||
tcib_actions:
|
||||
- run: if [ -f "/etc/yum.repos.d/ubi.repo" ]; then dnf config-manager --set-disabled "ubi*" && dnf clean all && rm -rf /var/cache/dnf; fi
|
||||
- run: >-
|
||||
dnf install -y crudini &&
|
||||
crudini --del /etc/dnf/dnf.conf main override_install_langs &&
|
||||
|
|
Loading…
Reference in New Issue