From 0484880d9949b6066101a9a75cd8d88581d2bbed Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 9 Oct 2021 13:51:13 +0900 Subject: [PATCH] Update Dockerfile --- docker/rpmbuild/Dockerfile.centos7 | 2 +- docker/rpmbuild/Dockerfile.centos8 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/rpmbuild/Dockerfile.centos7 b/docker/rpmbuild/Dockerfile.centos7 index 1588724..395a68c 100644 --- a/docker/rpmbuild/Dockerfile.centos7 +++ b/docker/rpmbuild/Dockerfile.centos7 @@ -14,7 +14,7 @@ RUN yum install -y yum-utils epel-release centos-release-scl-rh && \ scl-utils asciidoc bison elfutils-libelf-devel m4 newt-devel \ openssl-devel openssl xmlto audit-libs-devel binutils-devel elfutils-devel \ gettext java-1.8.0-openjdk-devel libcap-devel numactl-devel python-devel python3 \ - slang-devel xz-devel zlib-devel ncurses-devel pciutils-devel perl-ExtUtils-Embed && \ + slang-devel xz-devel zlib-devel ncurses-devel pciutils-devel perl-ExtUtils-Embed epel-rpm-macros && \ yum clean all && rm -rf /var/cache/yum /var/lib/rpm/__db* RUN useradd builder -u 1000 -m -G users,wheel && \ diff --git a/docker/rpmbuild/Dockerfile.centos8 b/docker/rpmbuild/Dockerfile.centos8 index e07571a..eb72c1b 100644 --- a/docker/rpmbuild/Dockerfile.centos8 +++ b/docker/rpmbuild/Dockerfile.centos8 @@ -6,6 +6,7 @@ LABEL maintainer="Teddysun " RUN yum install -y yum-utils epel-release && \ yum-config-manager --enable epel && \ + 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 \