Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4258

AMQ image should be squashed or yum cache cleaned earlier

    XMLWordPrintable

Details

    Description

      The AMQ 7 images distributed contain this line as one of the last Dockerfile step:

      RUN yum clean all && [ ! -d /var/cache/yum ] || rm -rf /var/cache/yum
      

      Since the final image doesn't seem to be squashed, all yum related data collected during earlier steps of the Docker build process are still carried on.

      All yum commands should be called in a single RUN statement concluded by the cleanup or the image should be squashed.
      We're talking of 100MB of useless data downloaded on every docker/podman pull.

      Attachments

        Activity

          People

            rhn-support-rkieley Roderick Kieley
            edbafbmt Benjamin Merot
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: