diff --git a/docker/rpmbuild/Dockerfile.rpmbuild7 b/docker/rpmbuild/Dockerfile.rpmbuild7 index d8ab551..85abf72 100644 --- a/docker/rpmbuild/Dockerfile.rpmbuild7 +++ b/docker/rpmbuild/Dockerfile.rpmbuild7 @@ -1,5 +1,5 @@ # Dockerfile for build RPM packages. -# Copyright (C) 2021 Teddysun +# Copyright (C) 2021 - 2022 Teddysun FROM --platform=${TARGETPLATFORM} centos:7 LABEL maintainer="Teddysun " @@ -7,7 +7,7 @@ LABEL maintainer="Teddysun " RUN yum install -y yum-utils epel-release centos-release-scl-rh && \ yum-config-manager --enable epel && \ yum install -y tar wget git tree gcc gcc-c++ \ - sudo net-tools make cmake zstd libzstd \ + sudo net-tools make cmake zstd libzstd chkconfig \ python bash coreutils diffutils patch ca-certificates \ rpm-build rpm-devel rpmlint rpmdevtools \ devtoolset-9-gcc devtoolset-9-binutils devtoolset-9-runtime \ diff --git a/docker/rpmbuild/Dockerfile.rpmbuild8 b/docker/rpmbuild/Dockerfile.rpmbuild8 index 6d2f91a..7d5f4f7 100644 --- a/docker/rpmbuild/Dockerfile.rpmbuild8 +++ b/docker/rpmbuild/Dockerfile.rpmbuild8 @@ -1,7 +1,7 @@ # Dockerfile for build RPM packages. -# Copyright (C) 2021 Teddysun +# Copyright (C) 2021 - 2022 Teddysun -FROM --platform=${TARGETPLATFORM} rockylinux/rockylinux:8 +FROM --platform=${TARGETPLATFORM} rockylinux:8 LABEL maintainer="Teddysun " RUN yum install -y yum-utils epel-release && \ @@ -9,7 +9,7 @@ RUN yum install -y yum-utils epel-release && \ yum-config-manager --enable powertools && \ rpm -e --nodeps coreutils-single && \ yum install -y tar wget git tree gcc gcc-c++ \ - sudo net-tools make cmake zstd libzstd \ + sudo net-tools make cmake zstd libzstd chkconfig \ bash coreutils diffutils patch ca-certificates \ rpm-build rpm-devel rpmlint rpmdevtools \ asciidoc audit-libs-devel binutils-devel flex \