Use RockyLinux to build RPM package
This commit is contained in:
parent
98167487aa
commit
df472254d3
1 changed files with 1 additions and 3 deletions
|
@ -4,9 +4,7 @@ ADD . /go/src/app
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
RUN make miniflux
|
RUN make miniflux
|
||||||
|
|
||||||
FROM centos:8
|
FROM rockylinux: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 dnf install -y rpm-build
|
||||||
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||||
RUN echo "%_topdir /root/rpmbuild" >> .rpmmacros
|
RUN echo "%_topdir /root/rpmbuild" >> .rpmmacros
|
||||||
|
|
Loading…
Reference in a new issue