gluster / gluster-containers

Dockerfiles (CentOS, Fedora, Red Hat) for GlusterFS
https://github.com/gluster/gluster-containers/pkgs/container/gluster-containers
223 stars 135 forks source link

[centos] Clean yum cache once we are done #198

Closed black-dragon74 closed 2 years ago

black-dragon74 commented 2 years ago

with installing and setting up packages. Cleaning it twice , once in the beginning and once in the end makes no sense as it could all be done in one go.

This patch also saves us a couple of seconds due to the command being run only once.

Signed-off-by: black-dragon74 nickk.2974@gmail.com