mirror of
https://github.com/caronc/apprise.git
synced 2024-11-22 08:04:02 +01:00
smaller rpm build docker containers; ref #948
This commit is contained in:
parent
e3e34c4211
commit
1dc22e1dd6
@ -48,7 +48,7 @@ COPY packaging/redhat/python-apprise.spec /
|
|||||||
# Place our build file into the path
|
# Place our build file into the path
|
||||||
COPY bin/build-rpm.sh /usr/bin
|
COPY bin/build-rpm.sh /usr/bin
|
||||||
RUN rpmspec -q --buildrequires /python-apprise.spec | cut -f1 -d' ' | \
|
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
|
# RPM Build Structure Setup
|
||||||
ENV FLAVOR=rpmbuild OS=centos DIST=el9
|
ENV FLAVOR=rpmbuild OS=centos DIST=el9
|
||||||
|
@ -47,7 +47,7 @@ COPY packaging/redhat/python-apprise.spec /
|
|||||||
# Place our build file into the path
|
# Place our build file into the path
|
||||||
COPY bin/build-rpm.sh /usr/bin
|
COPY bin/build-rpm.sh /usr/bin
|
||||||
RUN rpmspec -q --buildrequires /python-apprise.spec | cut -f1 -d' ' | \
|
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
|
# RPM Build Structure Setup
|
||||||
ENV FLAVOR=rpmbuild OS=centos DIST=el8
|
ENV FLAVOR=rpmbuild OS=centos DIST=el8
|
||||||
|
@ -62,7 +62,7 @@ COPY packaging/redhat/python-apprise.spec /
|
|||||||
# Place our build file into the path
|
# Place our build file into the path
|
||||||
COPY bin/build-rpm.sh /usr/bin
|
COPY bin/build-rpm.sh /usr/bin
|
||||||
RUN rpmspec -q --buildrequires /python-apprise.spec | cut -f1 -d' ' | \
|
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
|
# RPM Build Structure Setup
|
||||||
ENV FLAVOR=rpmbuild OS=centos DIST=f39
|
ENV FLAVOR=rpmbuild OS=centos DIST=f39
|
||||||
|
Loading…
Reference in New Issue
Block a user