Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-25182

Ensure that documentation and translations are present

    • toolbox-container-8.10-2
    • rhel-sst-display-productivity
    • ssg_display
    • 25
    • 36
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Unspecified Release Note Type - Unknown
    • None

      The base UBI images strip out documentation and translations to reduce the size of the image by sacrificing interactive use. This is fine because the base UBI images are designed for deploying services. However, the toolbox image is designed for long-term interactive command line use where documentation and translations are actually important. Therefore, we should ensure that they are present.

      Until now, we had a hand-maintained list of packages that had their content stripped out by the base UBI image. These packages are reinstalled when building the toolbox image to restore the lost content. Unfortunately, this list was incomplete because it was only updated when someone noticed that something is missing.

      Instead, we can generate the list with:

      $ rpm --all --query --state --queryformat "PACKAGE: %{NAME}\n"
      

      ... to ensure that it's always complete.

      A similar thing was done a few months ago for the fedora-toolbox images:

              dray@redhat.com Debarshi Ray
              dray@redhat.com Debarshi Ray
              Debarshi Ray Debarshi Ray
              Petr Schindler Petr Schindler
              Gabriela Necasova Gabriela Necasova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: