From 1dc22e1dd633c4718665d8c0a3501fb488f8c2f1 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Mon, 2 Sep 2024 12:25:53 -0400 Subject: [PATCH] smaller rpm build docker containers; ref #948 --- test/docker/Dockerfile.el9 | 2 +- test/docker/Dockerfile.f37 | 2 +- test/docker/Dockerfile.f39 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/docker/Dockerfile.el9 b/test/docker/Dockerfile.el9 index 9699b017..91cc6143 100644 --- a/test/docker/Dockerfile.el9 +++ b/test/docker/Dockerfile.el9 @@ -48,7 +48,7 @@ COPY packaging/redhat/python-apprise.spec / # Place our build file into the path COPY bin/build-rpm.sh /usr/bin RUN rpmspec -q --buildrequires /python-apprise.spec | cut -f1 -d' ' | \ - xargs dnf install -y + xargs dnf install -y && dnf clean all # RPM Build Structure Setup ENV FLAVOR=rpmbuild OS=centos DIST=el9 diff --git a/test/docker/Dockerfile.f37 b/test/docker/Dockerfile.f37 index 4af9bb8f..b258b5e5 100644 --- a/test/docker/Dockerfile.f37 +++ b/test/docker/Dockerfile.f37 @@ -47,7 +47,7 @@ COPY packaging/redhat/python-apprise.spec / # Place our build file into the path COPY bin/build-rpm.sh /usr/bin RUN rpmspec -q --buildrequires /python-apprise.spec | cut -f1 -d' ' | \ - xargs dnf install -y + xargs dnf install -y && dnf clean all # RPM Build Structure Setup ENV FLAVOR=rpmbuild OS=centos DIST=el8 diff --git a/test/docker/Dockerfile.f39 b/test/docker/Dockerfile.f39 index 81c1d19b..65bb22c1 100644 --- a/test/docker/Dockerfile.f39 +++ b/test/docker/Dockerfile.f39 @@ -62,7 +62,7 @@ COPY packaging/redhat/python-apprise.spec / # Place our build file into the path COPY bin/build-rpm.sh /usr/bin RUN rpmspec -q --buildrequires /python-apprise.spec | cut -f1 -d' ' | \ - xargs dnf install -y + xargs dnf install -y && dnf clean all # RPM Build Structure Setup ENV FLAVOR=rpmbuild OS=centos DIST=f39