add openSUSE Leap 15.5

This commit is contained in:
Syping 2024-03-22 02:14:36 +01:00
parent e0f063127b
commit d52cb4cfe2
4 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,6 @@
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 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

View File

@ -1,9 +1,8 @@
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 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

View File

@ -1,6 +1,5 @@
FROM rockylinux:9
RUN dnf install -y annobin cmake make gcc-c++ git perl perl-IPC-Cmd rpmdevtools rpmlint systemd-rpm-macros && \
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

7
Containerfile.lp155 Normal file
View File

@ -0,0 +1,7 @@
FROM opensuse/leap:15.5
RUN zypper install -y cmake make gcc9-c++ git perl 'perl(IPC::Cmd)' rpmdevtools rpmlint systemd-rpm-macros system-user-mail && \
zypper clean
RUN useradd -m -s /bin/bash -U rpmbuild
USER rpmbuild
WORKDIR /home/rpmbuild
RUN rpmdev-setuptree