1
0
Fork 0

Use RockyLinux to build RPM package

This commit is contained in:
Frédéric Guillot 2023-06-23 20:45:58 -07:00
parent 98167487aa
commit df472254d3

View file

@ -4,9 +4,7 @@ ADD . /go/src/app
WORKDIR /go/src/app
RUN make miniflux
FROM centos:8
RUN dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y
RUN dnf distro-sync -y
FROM rockylinux:8
RUN dnf install -y rpm-build
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
RUN echo "%_topdir /root/rpmbuild" >> .rpmmacros