27f4ad1f53
The `make rpm-build` started failing with ``` find-debuginfo: starting Extracting debug info from 1 files *** ERROR: No build ID note found in /build/src/artifacts/rpmbuild/BUILD/zrepl-v0.6.1.47.gbae2bd2-build/BUILDROOT/usr/bin/zrepl error: Bad exit status from /var/tmp/rpm-tmp.bYHLzG (%install) ``` This must be a change in Fedora (prob new Fedora major release). Seize the opportunity to 1. stop building from `:latest`, and 2. build with an LTS RPM distro to improve zrepl RPM compatibility (no problems so far AFAIK but this seems sensible)
8 lines
233 B
Docker
8 lines
233 B
Docker
FROM almalinux:8
|
|
|
|
RUN dnf install -y git make bash rpm-build 'dnf-command(builddep)'
|
|
ADD packaging/rpm/zrepl.spec /tmp/zrepl.spec
|
|
RUN dnf builddep -y /tmp/zrepl.spec
|
|
RUN mkdir -p /build/src && chmod -R 0777 /build
|
|
WORKDIR /build/src
|