From b32240d20578c029c7834f06319e1564d67b88f1 Mon Sep 17 00:00:00 2001 From: Wayne Walker Date: Sat, 8 Jul 2023 12:59:07 -0500 Subject: [PATCH] #277 - add gcc, change dnf to yum --- rpm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm/Dockerfile b/rpm/Dockerfile index 9fd2d154..47c63fa7 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