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:
15
packaging/oci/Containerfile
Normal file
15
packaging/oci/Containerfile
Normal 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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user