Skip to content

fix: make bubblewrap conditionally installed for RedHat-based images#1651

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/common-utils-fix-bubblewrap-issue
Open

fix: make bubblewrap conditionally installed for RedHat-based images#1651
Copilot wants to merge 3 commits into
mainfrom
copilot/common-utils-fix-bubblewrap-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

bubblewrap is not available in UBI repositories, causing common-utils installation to fail on registry.access.redhat.com/ubi8/ubi base images with No match for argument: bubblewrap.

Changes

  • Conditional installation: Move bubblewrap from the unconditional package list to a conditional check using the same ${install_cmd} -q list pattern already used for compat-openssl10 and redhat-lsb-core
  • Test coverage: Add ubi-8 scenario using registry.access.redhat.com/ubi8/ubi:8.10
  • Version bump: 2.5.8 → 2.5.9
# Install bubblewrap if available (not present in UBI repositories)
if ${install_cmd} -q list bubblewrap >/dev/null 2>&1; then
    package_list="${package_list} bubblewrap"
fi

bubblewrap is not available in UBI repositories, causing common-utils
installation to fail on UBI base images. This change checks package
availability before adding bubblewrap to the install list, following
the same pattern used for compat-openssl10 and redhat-lsb-core.

Also adds a test scenario for UBI 8 image.
Copilot AI changed the title [WIP] Fix bubblewrap availability in common-utils on UBI base image fix: make bubblewrap conditionally installed on RedHat-based systems May 18, 2026
Copilot AI requested a review from Kaniska244 May 18, 2026 09:08
Copilot AI changed the title fix: make bubblewrap conditionally installed on RedHat-based systems fix: make bubblewrap conditionally installed for RedHat-based images May 18, 2026
@Kaniska244 Kaniska244 marked this pull request as ready for review May 18, 2026 09:38
@Kaniska244 Kaniska244 requested a review from a team as a code owner May 18, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

common-utils: bubblewrap not available on ubi base image

2 participants