diff --git a/packaging/rpm/Dockerfile b/packaging/rpm/Dockerfile index 60f8a60d..b946e6b1 100644 --- a/packaging/rpm/Dockerfile +++ b/packaging/rpm/Dockerfile @@ -3,7 +3,9 @@ ADD . /go/src/app WORKDIR /go/src/app RUN make miniflux -FROM centos:latest +FROM centos:8 +RUN dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y +RUN dnf distro-sync -y RUN dnf install -y rpm-build RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} RUN echo "%_topdir /root/rpmbuild" >> .rpmmacros