Skip to content

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

Merged
Abdurrahmaan Iqbal (abdurriq) merged 3 commits into
mainfrom
copilot/common-utils-fix-bubblewrap-issue
May 20, 2026
Merged

fix: make bubblewrap conditionally installed for RedHat-based images#1651
Abdurrahmaan Iqbal (abdurriq) merged 3 commits into
mainfrom
copilot/common-utils-fix-bubblewrap-issue

Conversation

Copilot AI commented May 18, 2026

Copy link
Copy Markdown
Contributor

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 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
Kaniska (Kaniska244) marked this pull request as ready for review May 18, 2026 09:38
@Kaniska244
Kaniska (Kaniska244) requested a review from a team as a code owner May 18, 2026 09:38
Comment thread test/common-utils/ubi-8.sh
@abdurriq
Abdurrahmaan Iqbal (abdurriq) merged commit ca1c166 into main May 20, 2026
15 checks passed
@abdurriq
Abdurrahmaan Iqbal (abdurriq) deleted the copilot/common-utils-fix-bubblewrap-issue branch May 20, 2026 17:05
uraitakahito added a commit to uraitakahito/features that referenced this pull request May 21, 2026
Incorporates upstream's conditional bubblewrap install for RHEL-based
images (devcontainers#1651, merged via develop today).
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

3 participants