feat(package): Add RPM, deb, pacman and tar packages and manpage

Build package using fpm. As I don't want ruby/gem in my computer, the
build system creates an OCI image with Podman (at this time), and
generate dist pacakges.

To enhance the packages, a manpage is now generated from the
documentation.
This commit is contained in:
2025-07-09 14:11:46 +02:00
parent 6cbaa06bec
commit 13d231a62c
7 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
FROM registry.fedoraproject.org/fedora:42
RUN set -eux; \
microdnf -y install \
rubygems rpmbuild bsdtar
RUN useradd -m -r -d /home/builder -s /bin/bash builder; \
chown builder:builder /home/builder
USER builder
ENV PATH="/home/builder/bin:${PATH}"
WORKDIR /home/builder
RUN gem install fpm