From c25149eaaeb0a7ab64bd9b6711839fedd892542c Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Thu, 11 Apr 2024 10:52:46 -0500 Subject: [PATCH] Fixed image building problem on centos 8 --- centos/8/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/centos/8/Dockerfile b/centos/8/Dockerfile index da95cf5..e526093 100644 --- a/centos/8/Dockerfile +++ b/centos/8/Dockerfile @@ -5,7 +5,8 @@ RUN set -x \ -e 's/^mirrorlist/#mirrorlist/g' \ -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \ /etc/yum.repos.d/CentOS-* \ - && yum install -y ruby-devel rubygems gcc make rpmdevtools rpm-sign \ + && yum module -y enable ruby:3.0 \ + && yum install -y ruby rubygems gcc make rpmdevtools rpm-sign \ && gem install fpm -v 1.15.1 \ && yum clean all \ && mkdir /src