From 33e997b79dc469114d18593369a704f4d5d8f7b6 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Thu, 10 Mar 2016 12:35:12 +0000 Subject: [PATCH] Add missing 'yum clean all' to mariadb Found another missing clean in mariadb, halves the size of the image. TrivalFix Change-Id: Idcbb925a6f232bd1172710456662a52784e025b6 --- docker/mariadb/Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/mariadb/Dockerfile.j2 b/docker/mariadb/Dockerfile.j2 index fe5bfe2dd8..8c6e954cf2 100644 --- a/docker/mariadb/Dockerfile.j2 +++ b/docker/mariadb/Dockerfile.j2 @@ -14,6 +14,7 @@ RUN yum install -y \ pv \ tar \ expect \ + && yum clean all \ && rm -rf /var/lib/mysql/* {% elif base_distro in ['ubuntu', 'debian'] %}