Fix RPM Dockerfile packager
This commit is contained in:
parent
f546fc3060
commit
79df37ac1e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue