Nir Soffer has uploaded a new change for review.

Change subject: dockerfile: Minimize docker image
......................................................................

dockerfile: Minimize docker image

Cleaning dnf caches remove 145MiB of useless data slowing down pushing
and pulling the image:

    # du -sh /var/cache/*
    145M        /var/cache/dnf
    20K /var/cache/ldconfig
    0   /var/cache/libvirt

    # dnf clean all
    72 files removed

    # du -sh /var/cache/*
    12K /var/cache/dnf
    20K /var/cache/ldconfig
    0   /var/cache/libvirt

Change-Id: I5e3d606b20a086ef0d2da443a35182d64c3b880c
Signed-off-by: Nir Soffer <nsof...@redhat.com>
---
M contrib/Dockerfile.fedora
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/71/65271/1

diff --git a/contrib/Dockerfile.fedora b/contrib/Dockerfile.fedora
index 5eaa12d..6495167 100644
--- a/contrib/Dockerfile.fedora
+++ b/contrib/Dockerfile.fedora
@@ -41,4 +41,5 @@
     which \
     && \
   easy_install pip && \
-  pip install nose==1.3.7 tox==2.1.1
+  pip install nose==1.3.7 tox==2.1.1 && \
+  dnf clean all


-- 
To view, visit https://gerrit.ovirt.org/65271
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e3d606b20a086ef0d2da443a35182d64c3b880c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsof...@redhat.com>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to