Improve packaging

This commit is contained in:
2025-01-25 01:33:30 -05:00
parent 15c26e1a29
commit 466e4e7073
6 changed files with 175 additions and 117 deletions

View File

@@ -0,0 +1,21 @@
# Dockerfile.rpm
ARG DISTRO=rockylinux
ARG RELEASE=9
FROM ${DISTRO}:${RELEASE}
ARG DISTRO
ARG RELEASE
RUN dnf install -y \
rpm-build \
make \
&& dnf clean all
RUN echo -e "#!/bin/bash\nmake actually-package-${DISTRO}-${RELEASE}" > /init.sh \
&& chmod 755 /init.sh
WORKDIR /src
CMD ["/bin/bash", "/init.sh"]