smaller rpm build docker containers; ref #948

This commit is contained in:
Chris Caron 2024-09-02 12:25:53 -04:00
parent e3e34c4211
commit 1dc22e1dd6
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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