Skip to content
Snippets Groups Projects
Commit df472254 authored by Frédéric Guillot's avatar Frédéric Guillot
Browse files

Use RockyLinux to build RPM package

parent 98167487
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,7 @@ ADD . /go/src/app ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment