-
Story
-
Resolution: Unresolved
-
Minor
-
None
-
AMQ 7.7.0.GA
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.