From 864c83c1f1f991e975d29188fcd0ac09e5881cfe Mon Sep 17 00:00:00 2001 From: Wayne Walker Date: Tue, 11 Jul 2023 02:14:53 -0500 Subject: [PATCH] #277 - add gcc, change dnf to yum (#278) --- rpm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm/Dockerfile b/rpm/Dockerfile index 9fd2d15..47c63fa 100644 --- a/rpm/Dockerfile +++ b/rpm/Dockerfile @@ -4,8 +4,8 @@ ARG VER FROM ${DISTRO}:${VER} as builder LABEL stage=innernet-rpm -RUN dnf -y update && \ - dnf -y install clang-devel sqlite-devel glibc-devel rpm-build && \ +RUN yum -y update && \ + yum -y install gcc clang-devel sqlite-devel glibc-devel rpm-build && \ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal WORKDIR /workdir