Update Dockerfile

This commit is contained in:
Teddysun 2021-10-09 13:51:13 +09:00
parent 4625d29004
commit 0484880d99
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 2 additions and 1 deletions

View File

@ -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 && \

View File

@ -6,6 +6,7 @@ LABEL maintainer="Teddysun <i@teddysun.com>"
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 \