initial commit

This commit is contained in:
Syping 2024-03-16 04:21:13 +01:00
commit e0f063127b
3 changed files with 28 additions and 0 deletions

9
Containerfile.el7 Normal file
View file

@ -0,0 +1,9 @@
FROM centos:7
RUN yum install -y centos-release-scl epel-release && \
yum install -y cmake3 epel-rpm-macros-systemd make devtoolset-9-annobin devtoolset-9-gcc-c++ git perl perl-IPC-Cmd rpmdevtools rpmlint systemd-rpm-macros && \
yum clean all
RUN useradd -m -s /bin/bash -U rpmbuild
USER rpmbuild
WORKDIR /home/rpmbuild
RUN rpmdev-setuptree

11
Containerfile.el8 Normal file
View file

@ -0,0 +1,11 @@
FROM rockylinux:8
RUN dnf install -y 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled powertools && \
dnf install -y epel-release && \
dnf install -y cmake epel-rpm-macros-systemd make gcc-toolset-9-annobin gcc-toolset-9-gcc-c++ git perl perl-IPC-Cmd rpmdevtools rpmlint systemd-rpm-macros && \
dnf clean all
RUN useradd -m -s /bin/bash -U rpmbuild
USER rpmbuild
WORKDIR /home/rpmbuild
RUN rpmdev-setuptree

8
Containerfile.el9 Normal file
View file

@ -0,0 +1,8 @@
FROM rockylinux:9
RUN dnf install -y annobin cmake make gcc-c++ git perl perl-IPC-Cmd rpmdevtools rpmlint systemd-rpm-macros && \
dnf clean all
RUN useradd -m -s /bin/bash -U rpmbuild
USER rpmbuild
WORKDIR /home/rpmbuild
RUN rpmdev-setuptree