From: Magnus Jacobsson Date: Mon, 20 Apr 2020 07:06:13 +0000 (+0200) Subject: Add clean up stage to all Dockerfiles X-Git-Tag: 2.44.1~76^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9d9786ef084923445909e996cb8ab0d646fd28f;p=graphviz Add clean up stage to all Dockerfiles --- diff --git a/ci/centos6/Dockerfile b/ci/centos6/Dockerfile index ee4ac779b..4ad801661 100644 --- a/ci/centos6/Dockerfile +++ b/ci/centos6/Dockerfile @@ -100,3 +100,6 @@ RUN yum -y install tk-devel # Test utilities RUN yum -y install -y python2-pytest RUN yum -y install -y python34-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/centos7/Dockerfile b/ci/centos7/Dockerfile index b37fbe5e9..4d128f83e 100644 --- a/ci/centos7/Dockerfile +++ b/ci/centos7/Dockerfile @@ -94,3 +94,6 @@ RUN yum -y install tk-devel # Test utilities RUN yum -y install -y python-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/centos8/Dockerfile b/ci/centos8/Dockerfile index 1249408f4..067c7c685 100644 --- a/ci/centos8/Dockerfile +++ b/ci/centos8/Dockerfile @@ -95,3 +95,6 @@ RUN yum -y install tk-devel # Test utilities RUN yum -y install -y python2-pytest RUN yum -y install -y python3-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/fedora29/Dockerfile b/ci/fedora29/Dockerfile index e254b0685..fbb5923bf 100644 --- a/ci/fedora29/Dockerfile +++ b/ci/fedora29/Dockerfile @@ -108,3 +108,6 @@ RUN yum -y install mono-core # Test utilities RUN yum -y install -y python-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/fedora30/Dockerfile b/ci/fedora30/Dockerfile index 1e76e5b85..ada5388c5 100644 --- a/ci/fedora30/Dockerfile +++ b/ci/fedora30/Dockerfile @@ -105,3 +105,6 @@ RUN yum -y install mono-core # Test utilities RUN yum -y install -y python-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/fedora31/Dockerfile b/ci/fedora31/Dockerfile index 59802c65a..2b9b2b6bc 100644 --- a/ci/fedora31/Dockerfile +++ b/ci/fedora31/Dockerfile @@ -105,3 +105,6 @@ RUN yum -y install mono-core # Test utilities RUN yum -y install -y python-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/fedora32/Dockerfile b/ci/fedora32/Dockerfile index a980e045d..7cfa2f5c1 100644 --- a/ci/fedora32/Dockerfile +++ b/ci/fedora32/Dockerfile @@ -104,3 +104,6 @@ RUN yum -y install mono-core # Test utilities RUN yum -y install -y python-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/fedora33/Dockerfile b/ci/fedora33/Dockerfile index 4c12c64f5..4f666c1b5 100644 --- a/ci/fedora33/Dockerfile +++ b/ci/fedora33/Dockerfile @@ -104,3 +104,6 @@ RUN yum -y install mono-core # Test utilities RUN yum -y install -y python-pytest + +# Clean up +RUN yum clean all && rm -rf /var/cache/yum diff --git a/ci/ubuntu-18.04/Dockerfile b/ci/ubuntu-18.04/Dockerfile index 20c8454d1..187c58758 100644 --- a/ci/ubuntu-18.04/Dockerfile +++ b/ci/ubuntu-18.04/Dockerfile @@ -100,3 +100,6 @@ RUN apt-get install -y tcl-dev # Test utilities RUN apt-get update && apt-get install -y python-pytest + +# Clean up +RUN rm -rf /var/lib/apt/lists/* diff --git a/ci/ubuntu-19.04/Dockerfile b/ci/ubuntu-19.04/Dockerfile index 7c923eea7..1595ed0bb 100644 --- a/ci/ubuntu-19.04/Dockerfile +++ b/ci/ubuntu-19.04/Dockerfile @@ -100,3 +100,6 @@ RUN apt-get install -y tcl-dev # Test utilities RUN apt-get update && apt-get install -y python-pytest + +# Clean up +RUN rm -rf /var/lib/apt/lists/* diff --git a/ci/ubuntu-19.10/Dockerfile b/ci/ubuntu-19.10/Dockerfile index bab3e9274..679bf810d 100644 --- a/ci/ubuntu-19.10/Dockerfile +++ b/ci/ubuntu-19.10/Dockerfile @@ -100,3 +100,6 @@ RUN apt-get install -y tcl-dev # Test utilities RUN apt-get update && apt-get install -y python-pytest + +# Clean up +RUN rm -rf /var/lib/apt/lists/* diff --git a/ci/ubuntu-20.04/Dockerfile b/ci/ubuntu-20.04/Dockerfile index ccc45fcaa..009696a73 100644 --- a/ci/ubuntu-20.04/Dockerfile +++ b/ci/ubuntu-20.04/Dockerfile @@ -101,3 +101,6 @@ RUN apt-get install -y tcl-dev # Test utilities RUN apt-get update && apt-get install -y python-pytest + +# Clean up +RUN rm -rf /var/lib/apt/lists/*