Skip to content

Commit

Permalink
Fix RPM Dockerfile packager
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed May 28, 2022
1 parent f546fc3 commit 79df37a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packaging/rpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79df37a

Please sign in to comment.