mirror of
https://github.com/Syping/dtranslatebot-build.git
synced 2024-11-22 05:40:24 +01:00
initial commit
This commit is contained in:
commit
e0f063127b
3 changed files with 28 additions and 0 deletions
9
Containerfile.el7
Normal file
9
Containerfile.el7
Normal 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
11
Containerfile.el8
Normal 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
8
Containerfile.el9
Normal 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
|
Loading…
Reference in a new issue